Laravel is a framework, but it's also a PHP package, installable by the composer package manager when you run the command composer create-project laravel/laravel. Let's explore the syntax options and other composer-related topics.
"composer install" VS "composer require"
A quick start answering this common question.
When running the composer install command, composer installs every package in the composer.json file list.
The composer require package/name is similar but does 2-in-1. This command installs a package to a project and adds it to a composer.json file required list.
composer.json VS composer.lock: install VS update
In composer.json, you specify what...
Thanks Polivas, this lesson helped me a lot.
im not sure what you meant by: "Some packages, like Laravel Debugbar or Laravel Breeze, aren't needed on production servers."
but i will be using Laravel Breeze in production.
When you install breeze you publish files once and that's it, that's the only use you will ever do of breeze as from a package
your comment got cut out
I hate this comment system...