Download the PHP package hdeawy/api-starter-kit without Composer
On this page you can find all versions of the php package hdeawy/api-starter-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package api-starter-kit
Laravel API Starter Kit
Idea Brief
The Laravel API Starter Kit is a comprehensive boilerplate designed specifically for backend developers who need to quickly scaffold RESTful APIs using Laravel. Unlike general-purpose starter kits, this one focuses exclusively on API development, implementing industry best practices like Service and Repository patterns to ensure clean, maintainable, and testable code. This starter kit aims to solve common challenges in API development by providing a standardized structure, consistent response formats, and allowing developers to focus on business logic rather than repetitive boilerplate code.
Core Features
The API Starter Kit includes the following core features:
- Service Class Pattern
- Repository Pattern
- Standardized API Response Structure
- API Versioning
- Query Builder (Dynamic filtering, sorting, and pagination using Spatie Query Builder)
- Authentication using JWT
- Request Validation
- Resource Transformers
- API Documentation
- Telescope for Development & Debugging.
- Code Quality Tools (Pint, Larastan, IDE Helper)
- Pest for Testing (already configured and ready to use, see current tests).
- Docker Configuration
- Git Hooks (pre-commit and pre-push to automatically run Pint, Larastan, and test suites)
Requirements
- PHP 8.2+
- Composer
- MySQL 8.0+ / PostgreSQL 12+ / SQLite 3
Installation
Using Laravel Installer
Using Composer
Using Docker
-
Install starter using Docker
-
Update the
.envfile with your database credentials -
🔥 Start the Docker containers
- Finally, run the migrations and generate the JWT secret
Manually
-
Clone the repository
-
Install dependencies
-
Copy the
.env.examplefile to.envand set your environment variables - Final setup
Testing
Run the tests with Pest:
Laravel Pint
Code style fixer for minimalists
Larastan
Finding errors in your code:
Contributing
Thank you for considering contributing to this API Starter Kit!. All the contribution guidelines are mentioned here.
Security Vulnerabilities
If you discover a security vulnerability within the starter kit, please send an e-mail to me via [email protected].
License
This Laravel API Starter Kit is open-sourced software licensed under the MIT license.
All versions of api-starter-kit with dependencies
laravel/framework Version ^12.0
laravel/tinker Version ^2.10.1
spatie/laravel-query-builder Version ^6.3
tymon/jwt-auth Version ^2.2



