Lightszentip/Setup Laravel to use sqlite

Created Sun, 11 Dec 2022 00:00:00 +0000 Modified Sat, 01 Jul 2023 10:12:39 +0000
33 Words

Setup Laravel to use sqlite

Setup .env

Open the .env file and change the following settings:

DB_CONNECTION=sqlite
DB_DATABASE=database/database.sqlite

and set

SESSION_DRIVER=file

to file.

After this run php artisan migrate and php artisan serve