khaledabdalbasit / launchpoint
Laravel Starter Kit for API
Package info
github.com/khaledAbdalbasit/Laravel-LaunchPoint
pkg:composer/khaledabdalbasit/launchpoint
Requires
- php: ^8.1|^8.2
- fisal/laravel-otp: ^1.0
This package is not auto-updated.
Last update: 2026-04-08 23:21:03 UTC
README
📌 Table of Contents
Introduction
LaunchPoint is a powerful API starter kit for Laravel designed to accelerate backend development.
It provides an interactive scaffolding system that installs essential backend architecture components including:
- Authentication System
- Service Layer
- Repository Layer
- File Helpers
- API Response Traits
LaunchPoint helps developers start building production-ready APIs within seconds instead of hours.
Features
- Interactive installation wizard
- Automatic Laravel API setup
- Clean architecture scaffolding
- Authentication system with OTP support
- File handling utilities
- Standardized API responses
- Modular installation
- Laravel 11+ ready
Installation
Install via Composer
composer require khaledabdalbasit/launchpoint
Run LaunchPoint Installer
php artisan launchpoint:install
Launches the interactive installation wizard. Choose whether to install Authentication, FileHelper, ApiResponseTrait, etc.
Installation Wizard
Step 1 — Ensure API Setup
Checks if routes/api.php exists. If not, runs automatically:
php artisan install:api
Step 2 — Authentication System
Installs:
AuthControllerLoginRequestRegisterRequestAuthServiceUserResource- OTP integration
FileHelperApiResponseTrait
Step 3 — Optional Components
- FileHelper
php artisan launchpoint:install-filehelper
- ApiResponseTrait
php artisan launchpoint:install-apiresponse
Step 4 — Publish Configuration
php artisan vendor:publish --tag=launchpoint-config
Publishes config/launchpoint.php.
LaunchPoint Artisan Commands
1️⃣ Make Controller
php artisan launchpoint:make-controller {name} {--service=ServiceName}
Creates a controller, optionally connected to a Service.
Example:
php artisan launchpoint:make-controller UserController --service=UserService
2️⃣ Make Service
php artisan launchpoint:make-service {name} {--model=ModelName}
Creates a service, optionally tied to a Model.
Example:
php artisan launchpoint:make-service UserService --model=User
3️⃣ Make Repository
php artisan launchpoint:make-repository {name} {--model=ModelName}
Creates a repository, optionally tied to a Model.
Example:
php artisan launchpoint:make-repository UserRepository --model=User
Example Installation
php artisan launchpoint:install
LaunchPoint Installation Wizard:
Do you want to install the Authentication Scaffolding? (yes/no) [yes]:
✔ Auth system installed
Installation completed successfully.
Generated Project Structure
app
├── Helpers
│ └── FileHelper.php
│
├── Traits
│ └── ApiResponseTrait.php
│
├── Services
│ └── Auth
│ └── AuthService.php
│
└── Http
├── Controllers
│ └── Auth
│ └── AuthController.php
│
└── Requests
└── Auth
├── LoginRequest.php
└── RegisterRequest.php
Repositories/
└── ExampleRepository.php
Example API Response
Using ApiResponseTrait:
return $this->apiResponse($data, 'User logged in successfully');
Response:
{
"status": true,
"message": "User logged in successfully",
"data": {
"user": {}
}
}
Requirements
- PHP 8.1+
- Laravel 11+
Roadmap
- Repository scaffolding generator
- Service generator
- API resource generator
- Role & Permission scaffolding
- API versioning support
- Swagger documentation generator
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a Pull Request
License
MIT License © Khaled Abdelbasit
Author
Khaled Abdelbasit Backend Engineer specializing in Laravel architecture and API systems.