PHPackages                             maadhih/reinforcement - 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. [API Development](/categories/api)
4. /
5. maadhih/reinforcement

ActiveLibrary[API Development](/categories/api)

maadhih/reinforcement
=====================

Extended laravel support for APIs

0.2.26(6y ago)0104MITPHPPHP &gt;=7.0

Since Feb 3Pushed 6y agoCompare

[ Source](https://github.com/maadhih/reinforcement)[ Packagist](https://packagist.org/packages/maadhih/reinforcement)[ Docs](https://gitlab.com/maadhih/reinforcement)[ RSS](/packages/maadhih-reinforcement/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelogDependencies (7)Versions (38)Used By (0)

Laravel Reinforcements
======================

[](#laravel-reinforcements)

This package includes artisan generators out of the box:

- `reinforcement:migration`
- `reinforcement:resource`
- `reinforcement:controller`
- `reinforcement:model`
- `reinforcement:repository`
- `reinforcement:request`
- `reinforcement:route`
- `reinforcement:validator`
- `reinforcement:seeder`

Usage
-----

[](#usage)

### Step 1: Install Through Composer

[](#step-1-install-through-composer)

```
composer require maadhih/reinforcement --dev

```

### Step 2: Laravel Package Discovery

[](#step-2-laravel-package-discovery)

Run `php artisan package:discover` to make sure the package is discoverd by Laravel.

### Step 3: Run Artisan!

[](#step-3-run-artisan)

You're all set. Run `php artisan` from the console, and you'll see the new commands in the `reinforcement:*` namespace section. \*Note: The commands will only be available when `APP_ENV` is set to local

Examples
--------

[](#examples)

- [Creating full resource bundles](#creating-full-resource-bundle)
- [Creating individual elements of resource](#creating-individual-elements-of-resource)

### Creating full resource bundles

[](#creating-full-resource-bundles)

```
php artisan reinforcement:resource ResourceOne ResourceTwo ResourceThree ...

```

Notice the format that we use, when giving the command more than 1 resource to create, we separate them with spaces

This would create the whole bundle required for the reinforcement module to work. This bundle includes:

- `Resource migration`
- `Resource controller`
- `Resource model`
- `Resource repository`
- `Resource request`
- `Adding the Resource route to the routes file`
- `Resource validator`
- `Resource seeder`

### Creating individual elements of resource

[](#creating-individual-elements-of-resource)

```
php artisan reinforcement:controller ResourceOne ResourceTwo ResourceThree ...

```

This would create the controllers for the required resources. This could be used with all the other available artisan commands.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~12 days

Recently: every ~36 days

Total

36

Last Release

2510d ago

PHP version history (2 changes)0.1.1PHP &gt;=5.6.0

0.1.7PHP &gt;=7.0

### Community

Maintainers

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

---

Tags

apilaravelextendedsupport

### Embed Badge

![Health badge](/badges/maadhih-reinforcement/health.svg)

```
[![Health](https://phpackages.com/badges/maadhih-reinforcement/health.svg)](https://phpackages.com/packages/maadhih-reinforcement)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[bmatovu/laravel-mtn-momo

Laravel MTN MOMO integration.

14310.9k](/packages/bmatovu-laravel-mtn-momo)

PHPackages © 2026

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