Skip to content

prayogoedwin/laravel-starter-kit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel + Blade Starter Kit


Introduction

Our Laravel 12 + Blade starter kit provides the typical functionality found in the Laravel Starter kits, but with a few key differences:

  • A CoreUI/AdminLTE inspired design layout
  • Blade + AlpineJS code

This kit aims to fill the gap where there is no simple Blade only starter kit available.

Our internal goal at Laravel Daily is to start using this starter kit for our Demo applications, to avoid overwhelming our audience with Vue/Livewire/React if we had used one of the official Laravel 12 starter kits.

Note: This is Work in Progress kit, so it will get updates and fixes/features as we go.


Screenshots

Authentication & Dashboard

RBAC - Role Management

Roles List Roles list with DataTables server-side processing

Edit Role with Grouped Permissions Edit role with permissions grouped by resource (Users, Roles, Permissions)


What is Inside?

Inside you will find all the functions that you would expect:

  • Authentication
    • Login
    • Registration
    • Password Reset Flow
    • Email Confirmation Flow
  • Dashboard Page
  • Profile Settings
    • Profile Information Page
    • Password Update Page
    • Appearance Preferences
  • RBAC (Role-Based Access Control)
    • User Management with Role Assignment
    • Role Management with Permissions
    • Permission Management
    • Middleware for Role & Permission Checks
  • Laravel Sanctum API
    • Token-based Authentication
    • Sample Endpoints (Login, Users, Me, Logout)
    • Role & Permission Middleware for API
  • DataTables Integration
    • Server-side Processing
    • Real-time Search & Pagination
    • Export to Excel/CSV
    • Row Striping & Sorting
  • Modern UI Features
    • Dynamic Favicon
    • Footer with App Info & Version
    • Dark Mode Support
    • Responsive Design

How to use it?

To use this kit, you can install it using:

laravel new --using=laraveldaily/starter-kit

Or clone this repository:

git clone https://github.com/yourusername/laravel-starter-kit.git cd laravel-starter-kit composer install cp .env.example .env php artisan key:generate

Database Setup

# Configure your database in .env file, then: php artisan migrate --force php artisan db:seed --class=RolePermissionSeeder --force

Start Development Server

php artisan serve

Visit http://127.0.0.1:8000 and login with one of the demo accounts.

Features Configuration

This starter kit includes:

  • No NPM/Vite required - All frontend assets loaded via CDN (Tailwind CSS, Alpine.js, jQuery, DataTables)
  • Perfect for shared hosting - See DEPLOYMENT_SHARED_HOSTING.md for deployment guide
  • Excel Export - Download users, roles, and permissions as Excel/CSV
  • API Ready - Laravel Sanctum configured with sample endpoints

From there, you can modify the kit to your needs.


Documentation

For detailed information about RBAC and API features, please refer to:

Demo Users

After running the seeder, you can login with:

API Testing

Import the included postman_collection.json to Postman or use the examples in api-examples.js for testing the API endpoints.


Design Elements

If you want to see examples of what design elements we have, you can visit the Wiki and see the raw HTML files.


Licence

Starter kit is open-sourced software licensed under the MIT license.

About

Custom Fork: Laravel 12 Starter Kit from Laravel Daily, enhanced with built-in RBAC (Roles & Permissions)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Blade 63.7%
  • PHP 33.4%
  • JavaScript 2.1%
  • CSS 0.8%