PHPackages                             muflih/restful-clean - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. muflih/restful-clean

ActiveLibrary[Framework](/categories/framework)

muflih/restful-clean
====================

A Laravel package with custom directory structure

v1.1.1(1y ago)06MITPHPPHP ^8.2

Since Dec 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mmuflih/restful-clean)[ Packagist](https://packagist.org/packages/muflih/restful-clean)[ RSS](/packages/muflih-restful-clean/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Restful Clean for Lumen and Laravel
===================================

[](#restful-clean-for-lumen-and-laravel)

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
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel Lumen Framework 10.0 or higher

Installation
------------

[](#installation)

To install Restful Clean, you can use Composer:

```
composer require mmuflih/restful-clean
```

Usage
-----

[](#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
-------------------

[](#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
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance41

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd6d1ee359389c54733697a3af76f847bbaf3783ef9700991c76e08c06f49ae0?d=identicon)[mmuflih](/maintainers/mmuflih)

---

Top Contributors

[![mmuflih](https://avatars.githubusercontent.com/u/8967131?v=4)](https://github.com/mmuflih "mmuflih (4 commits)")

### Embed Badge

![Health badge](/badges/muflih-restful-clean/health.svg)

```
[![Health](https://phpackages.com/badges/muflih-restful-clean/health.svg)](https://phpackages.com/packages/muflih-restful-clean)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
