How to install specific version of Laravel

 Laravel is one of the most powerful PHP web application framework with expressive syntax. It is free and open-source. It is developed by Taylor Otwell in 2011. Laravel strives to produce incredible developer expertise whereas providing powerful options adore thorough dependency injection, Associate in Nursing communicative information abstraction layer, queues, and regular jobs, unit, and integration testing, and more.

If you are new to PHP or web frameworks, or if you have years of experience, Laravel is a framework that can grow with you. Laravel will help you take your first steps as a web developer or give you a boost as you take your experience to the next level.

We prefer to call Laravel a "progressive" framework. By that, we tend to mean that Laravel grows with you. If you're simply taking your initial steps into internet development, Laravel's huge library of documentation, guides, and video tutorials can assist you to learn the ropes while not turning overwhelmed. If you're a senior developer, Laravel offers you strong tools for dependency injection, unit testing, queues, time period events, and more. Laravel is fine-tuned for building skilled web applications and prepared to handle enterprise workloads.

We want it to be as simple as doable to urge started with Laravel. There is a spread of choices for developing and running a Laravel project on your own computer. whereas you'll want to explore these options at a later time, Laravel provides Sail, an inbuilt solution for running your Laravel project mistreatment docker. Docker may be a tool for running applications and services in small, light-weight "containers" that don't interfere together with your native computer's put-in package or configuration. this implies you don't get to worry regarding configuring or putting in sophisticated development tools such as the network of servers and databases on your personal computer. to urge started, you simply have to be compelled to install the jack Desktop. Laravel Sail may be a lightweight command-line interface for interacting with Laravel's default jack configuration. Sail provides a good place to begin for building a Laravel application mistreatment PHP, MySQL, and Redis while not requiring previous jack experience.



Installation Via Composer

if you have already installed composer and PHP, you can use composer directly to create a new project. After the successful installation, you can use the Artisan command to run the local development server.

composer create-project laravel/laravel new-application

cd new-application

php artisan serve

The Laravel Installer

you may install the Laravel Installer as a global Composer dependency:

composer global require laravel/installer

laravel new new-application

cd new-application

php artisan serve

the Laravel installer can also create a Git repository for your new project. To indicate that you want a Git repository to be created, pass the --git flag when creating a new project:

laravel new example-app --git 

you can also use github flag instead of git.

 laravel new example-app --github

You can install laravel specific version using 

composer create-project --prefer-dist laravel/laravel:^7.0 blog 

 

Comments