How to install Laravel ?

  1. Install composer from getcomposer.org0
  2. Then, Download the Laravel installer using Composer: composer global require laravel/installer

3.Once installed, the laravel new command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog will create a directory named blog containing a fresh Laravel installation with all of Laravel’s dependencies already installed :

laravel new blog
 4.Local Development Server
If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the serve Artisan command. This command will start a development server at http://localhost:8000:

Command : php artisan serve



rahuldev k
Latest posts by rahuldev k (see all)
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x