Framework: It is the collection of methods, classes, or files that the programmer uses, and they can also extend its
functionality by using their code.
Architecture: It is the specific design pattern that the framework follows. Laravel is following the MVC architecture.
Installing Laravel:-
To install Laravel, you can follow these general steps:
composer create-project --prefer-dist laravel/laravel [project-name],Replace [project-name] with the name you want to give
your project. This command will download and install the latest version of Laravel and all its dependencies.
Command: Some of the common commands used in Laravel are:
php artisan serve - Starts the Laravel development server
php artisan make:controller ControllerName - Creates a new controller file
php artisan make:model ModelName - Creates a new model file
php artisan make:migration create_table_name - Creates a new migration file for creating a database table
php artisan migrate - Runs all pending database migrations