nitish/laravel-api-starter
最新稳定版本:v1.0.0
Composer 安装命令:
composer create-project nitish/laravel-api-starter
包简介
A Laravel API Starter Kit with Repository-Service Pattern and Swagger, Sanctum, Spatie Integration.
README 文档
README
A scalable, modular, and well-structured Laravel API Starter Kit built with best industry practices including Authentication, Authorization, Role & Permission Management, CRUD APIs, and Swagger API Documentation.
✅ Features
- 🔐 Authentication (Login & Register)
- 👥 Authorization (Role & Permission based access)
- 🧑💼 User Management (CRUD)
- 🧩 Module Management (CRUD)
- 🔄 Role & Permission Management
- 🧾 Swagger API Documentation for easy API testing
- 🧬 Built using Repository-Service Pattern
- 🌱 Seeders for Users, Roles, and Permissions
📦 Packages Used
| Feature | Package |
|---|---|
| Role & Permissions | spatie/laravel-permission |
| Swagger API Docs | l5-swagger |
| Media Uploads | spatie/laravel-medialibrary |
🏗️ Project Architecture
- Repository Pattern
- Service Layer
- Swagger Integration
- Modular & Scalable Codebase
🛠️ Installation
Prerequisites
- PHP >= 8.2
- Composer
- Laravel >= 12.x
- MySQL or compatible DB
🧬 Clone & Setup
# Create a new Laravel project using this starter composer create-project nitish/laravel-api-starter # Navigate into the project cd laravel-api-starter # Install PHP dependencies composer install # Copy environment file cp .env.example .env # Generate application key php artisan key:generate # Configure your `.env` file with database and mail details # Run migrations and seeders php artisan migrate --seed # Install Swagger php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider" php artisan l5-swagger:generate --- ## 📜 License This project is open-source and available under the [MIT License](LICENSE). --- ## 👨💻 Author Developed by **Nitish Kumar** Feel free to contribute or fork this repository. --- ## 🙌 Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. --- ## 💡 Support If you find this project helpful, give it a ⭐ on GitHub and share it with your dev friends!
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-28