定制 muflih/restful-clean 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-10