Sinisterly
Tutorial Getting Started with Laravel (without Docker) - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: PHP (https://sinister.ly/Forum-PHP)
+--- Thread: Tutorial Getting Started with Laravel (without Docker) (/Thread-Tutorial-Getting-Started-with-Laravel-without-Docker)



Getting Started with Laravel (without Docker) - sunjester - 06-02-2022

Install composer
The following command will install the composer installer using curl.

Code:
curl -sO https://getcomposer.org/installer >installer

Next, 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]

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]

Now move into the example-app directory.

Code:
cd example-app/

And serve with artisan.

Code:
php artisan serve

[Image: Screenshot-2022-06-02-12-50-17-PM.png]