Login Register


Tutorial Getting Started with Laravel (without Docker) filter_list
Author
Message
Getting Started with Laravel (without Docker) #1
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]
scarylerie.com

Reply







Users browsing this thread: