- install new Laravel project:
composer create-project --prefer-dist laravel/laravel project-name
- .env change DB connection:
- DB_CONNECTION=mysql
+ DB_CONNECTION=sqlite
- .env remove other DB parameters:
- DB_HOST=127.0.0.1
- DB_PORT=3306
- DB_DATABASE=nonstopoglasi
- DB_USERNAME=root
- DB_PASSWORD=
- terminal:
cd project-name
touch database/database.sqlite
php artisan migrate