Getting Started with Laravel (without Docker) 06-02-2022, 08:53 PM
#1
Install composer
The following command will install the composer installer using curl.
Next, create a directory named bin and then run the following command.
![[Image: Screenshot-2022-06-02-12-50-41-PM.png]](https://i.ibb.co/bm5fVp5/Screenshot-2022-06-02-12-50-41-PM.png)
Now we can use the example-app, the Laravel equivalent of Hello World. Depending on your connection it may take a few minutes.
![[Image: Screenshot-2022-06-02-12-50-30-PM.png]](https://i.ibb.co/J7gZbgn/Screenshot-2022-06-02-12-50-30-PM.png)
Now move into the example-app directory.
And serve with artisan.
The following command will install the composer installer using curl.
Code:
curl -sO https://getcomposer.org/installer >installerNext, create a directory named bin and then run the following command.
Code:
php installer --install-dir=bin --filename=composer![[Image: Screenshot-2022-06-02-12-50-41-PM.png]](https://i.ibb.co/bm5fVp5/Screenshot-2022-06-02-12-50-41-PM.png)
Now we can use the example-app, the Laravel equivalent of Hello World. Depending on your connection it may take a few minutes.
Code:
php bin/composer create-project laravel/laravel example-app![[Image: Screenshot-2022-06-02-12-50-30-PM.png]](https://i.ibb.co/J7gZbgn/Screenshot-2022-06-02-12-50-30-PM.png)
Now move into the example-app directory.
Code:
cd example-app/And serve with artisan.
Code:
php artisan serve
scarylerie.com


![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)