Skip to content

Starter kit for laravel - Laravel/UI, Spatie permissions, Admin area

License

Notifications You must be signed in to change notification settings

innowaysit/laravel-stater-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel stater kit


How to use

Click on Use this template button then follow normal project creation steps in git

Once project is created, clone to your system

cp .env.example .env
composer install
npm install && npm run dev
php artisan key:generate
php artisan migrate:fresh --seed
php artisan serve

Docker (Sail)

cp .env.example .env
docker run --rm -v $(pwd):/opt -w /opt laravelsail/php81-composer:latest composer install
./vendor/bin/sail up -d
./vendor/bin/sail artisan key:generate
./vendor/bin/sail artisan migrate:fresh --seed

Passport Api installation and configuring client id and secret

If you need the api for authentication run the below command

php artisan passport:install

This will give sample output e.g.

Personal access client created successfully.
Client ID: 1
Client secret: idYopC1DiScLLkjXN7tPh8Wu3QxfViME6nJJurtd
Password grant client created successfully.
Client ID: 2
Client secret: qIiqHzXu58g7DQl8fKiSTFKRFcMzD0napwYi2W6l

Paste any one of these keys in your .env file as below

PASSPORT_PERSONAL_ACCESS_CLIENT_ID=1
PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET="idYopC1DiScLLkjXN7tPh8Wu3QxfViME6nJJurtd"

TODO

- Multiple theme support
- API support

Made with

- Laravel 10.x
- larave/ui package
- Webkit Admin template
- spatie/laravel-permission
- barryvdh/laravel-ide-helper
- laravel-shift/blueprint
- Font Awesome 5 icons
- Mazer 2.0 Admin template

Screenshots

New Bs5 based Stunning Mazer 2.0 Admin theme

Light Mode

theme

Dark Mode

dark_theme

Home

home

Login

login

Register

register

Home

home

Dashboard

dashboard

Role management

role_management

Profile

profile

Credits

Laravel Framework 10.x

Theme: Bootstrap 5 based Mazer 2.0

Role management: Spatie Laravel Permissions

License

The MIT License (MIT). Please see License File for more information.