This template repository is consist of these stacks:
- Bootstrap 5 with Tabler UI
- Laravel 11
- Inertia
- Vue 3
Optimization tools
- Laravel Debugbar
- Laravel Pulse
This is an alternative to VILT stack if you are keen to work with Bootstrap 5.
These are the built-in pages that are ready to be used or modified as you like.
Before run this in your local, make sure you have PHP 8, Composer and Node.js (for NPM) installed in your local machine. You may also consider using Laravel Herd. Once you have that ready, you can follow this steps:
- Execute
composer install
to install all of the PHP packages. - Copy the
.env
file from.env.example
using this commandcp .env.example .env
. - Generate the key
php artisan key:generate
. - Run the migration
php artisan migrate
. It will ask to configure SQLite database and answerY
(or enter) to create it. - Install JavaScript packages using
npm install
. - Finally, you can build the frontend using
npm run build
.
Ensure you have installed Docker (or Docker Desktop) in your local machine.
- Run
./vendor/bin/sail up -d
to spin up the docker container. - You may use the available sail commands as documented.
- You may also attach to the container to execute the laravel commands as below:
- Run
docker exec -it bliv-stack-template-laravel.test-1 bash
. - Run
php artisan key:generate
. - Run
php artisan migrate
. - Run
npm i && npm run dev
.
- In browser, access the page via
http://localhost:80/
.
Feel free to submit a PR to improve this and let me know if you have better idea for this repo. Thanks!