khaledabdalbasit/launchpoint
Composer 安装命令:
composer require khaledabdalbasit/launchpoint
包简介
Laravel Starter Kit for API
README 文档
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.
khaledabdalbasit/launchpoint 适用场景与选型建议
khaledabdalbasit/launchpoint 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 28 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 khaledabdalbasit/launchpoint 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 khaledabdalbasit/launchpoint 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-08