Nowy projekt Laravel 8
composer create-project laravel/laravel example-app
This will install with the latest version of laravel
guruwalker
composer create-project laravel/laravel example-app
This will install with the latest version of laravel
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
The full command works like this:
php artisan serve --host=<host IP address> --port=<port to use>
php artisan serve --host=127.0.0.1 --port=8080
laravel new project_name
or
composer create-project --prefer-dist laravel/laravel:^7.0 project_name
composer create-project --prefer-dist laravel/laravel app_example
After Installing Composer
composer create-project laravel/laravel myproject
//for authentication using jetstream etc.
composer require laravel/jetstream
//set database in .env file
php artisan migrate
php artisan serve