A minimal, clean, and extensible Laravel CRUD starter kit with authentication, role management, and API support.
- Laravel Breeze-based authentication system
- Role and permission management using Spatie Laravel Permission
- Example CRUD module: Projects management
- RESTful API endpoints
- Admin panel with Tailwind UI
- One-command installation:
php artisan starter:install - Database migrations and seeders
- API documentation with examples
- PHP 8.1+
- Laravel 10+
- MySQL 8.0+ or PostgreSQL 12+
- Node.js 16+
- Composer
git clone https://github.com/madkhix/laravel-crud-starter.git
cd laravel-crud-starter
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
npm install && npm run build
php artisan serveAfter installation, you can login with:
Admin User:
- Email: admin@example.com
- Password: password
Regular User:
- Email: user@example.com
- Password: password
GET /api/projects # List all projects
POST /api/projects # Create new project
GET /api/projects/{id} # Get project details
PUT /api/projects/{id} # Update project
DELETE /api/projects/{id} # Delete project
{
"success": true,
"data": [
{
"id": 1,
"name": "E-commerce Platform",
"description": "A modern e-commerce platform built with Laravel and Vue.js",
"created_at": "2025-06-21T10:00:00.000000Z",
"updated_at": "2025-06-21T10:00:00.000000Z"
}
],
"message": "Projects retrieved successfully"
}app/
├── Http/Controllers/
│ ├── Api/
│ │ └── ProjectController.php
│ └── Auth/
├── Models/
│ ├── Project.php
│ └── User.php
└── Providers/
database/
├── migrations/
└── seeders/
routes/
├── api.php
└── web.php
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE.md file for details.