muflih/restful-clean
最新稳定版本:v1.1.1
Composer 安装命令:
composer require muflih/restful-clean
包简介
A Laravel package with custom directory structure
README 文档
README
Restful Clean is a PHP package designed to provide a clean and efficient structure for building RESTful applications using the Laravel Lumen framework or Laravel framework.
Requirements
- PHP 8.2 or higher
- Laravel Lumen Framework 10.0 or higher
Installation
To install Restful Clean, you can use Composer:
composer require mmuflih/restful-clean
Usage
This package provides a set of traits and utilities to streamline the development of RESTful APIs. Here are some key features:
- Domain-specific traits for multi-tenant applications
- Integration with Telegram Bot SDK
Directory Structure
Here is the complete directory structure of the Restful Clean package:
restful-clean/
│
├── src/
│ ├── app/
│ │ ├── Commands/
│ │ │ ├── MakeModelCommand.php
│ │ │ └── RouteCommand.php
│ │ ├── Context/
│ │ │ ├── ContextException.php
│ │ │ ├── Handler.php
│ │ │ ├── HasPaginate.php
│ │ │ ├── HasSQLPaginate.php
│ │ │ ├── PagedList.php
│ │ │ └── Reader.php
│ │ ├── Http/
│ │ │ └── Controllers/
│ │ │ └── ApiController.php
│ │ ├── Jobs/
│ │ │ └── TelegramJob.php
│ │ └── Traits/
│ │ ├── CodeGenerator.php
│ │ ├── HasImage.php
│ │ └── LocalTimestampsTrait.php
│ └── ...
└── ...
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-10