This template allows you to quickly start building laravel applications from scratch. php 8.1
- Full Authentication
- Admin & User Sections
- Blog
- Feature Flags - control new features
- Easy to deploy (Docker, VPS)
- Contact, Terms & Conditions & Privacy policy pages
- E-commerce shop
- Tests with PHPUnit and Jest
- GraphQL
- UI with BootstrapVue
- Tasks management
- Search Website Content
- Language selector
- Mpesa Payment Gateway
- Offline apps
- Automation of deployment with Github
- Vite & Vue 3
Enable features https://laravel.test/admin/feature_flags
- shop
- blog
- languages
- teams
You can easily create scaffolding for a new feature. i.e. Adding a new Resource like Contact
bash scaffold.sh Contact
This would create Controllers, Requests, TestFiles for both PHP & Vue and UI
Setup Environment
Copy .env.example
to .env
Update APP_NAME
, APP_URL
Update MAIL_USERNAME
and MAIL_PASSWORD
Update config/app.php
Update public/manifest.json
Update resources/views/header-links.blade.php
Update deploy Folder Notes
MySQL required Valet is required
valet link builder_laravel
THEN
valet secure builder_laravel
npm run hotssl
View site on https://builder_laravel.test
git remote add template [email protected]:chiefbrob/builder_laravel.git
git fetch template
git rebase template/master
Login Docker
docker login
Build Image
npm run production
docker-compose build
Test Image
docker-compose up -d
and docker-compose stop
There are PHP Tests in the root tests
folder and JavaScript Tests in resources/js/tests
To debug Backend tests, you need to install xdebug.
To debug Frontend tests using Jest on VSCode, select node.js then run script tdd.
With these you can add breakpoints and stop compiler to view variables
composer check-style
composer fix-style
/vendor/bin/pint
View site on https://builder_laravel.test
git remote add template [email protected]:chiefbrob/builder_laravel.git
git fetch template
git rebase template/master
Login Docker
docker login
Build Image
npm run production
docker-compose build
Test Image
docker-compose up -d
and docker-compose stop
composer check-style
composer fix-style
/vendor/bin/pint