Artisan shortcuts can be dangerous for your project!

Опубликовано: 15 Август 2026
на канале: Metaphorically Speaking
4,725
129

Don't make this mistake in your Laravel project. Laravel uses Symfony's Console package which allows you to specify shortcuts when running commands from the terminal.

However, this is a terrible idea in production as it leaves your vulnerable to making a previously stable command ambiguous.

0:00 intro
0:51 shortcuts
1:15 source diving
1:35 pattern matching
2:47 strong opinions
3:26 outro

--

Website: https://acairns.co.uk
Twitter:   / andrewcairns  
Patreon:   / metaphoricallyspeaking  
Discord: https://acairns.co.uk/discord
Substack: https://acairns.substack.com

#laravel #php