PHPackages                             rafni/laravel-toolkit - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rafni/laravel-toolkit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rafni/laravel-toolkit
=====================

Some tools for Laravel development, only commands and helpers to streamline developments

v5.1.2(8y ago)222MITPHPPHP &gt;=5.6

Since Mar 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rafni/laravel-toolkit)[ Packagist](https://packagist.org/packages/rafni/laravel-toolkit)[ RSS](/packages/rafni-laravel-toolkit/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (3)Versions (4)Used By (0)

laravel-toolkit
===============

[](#laravel-toolkit)

Versions
--------

[](#versions)

This is version 5.1 of the development kit for the Laravel 5.0 framework or higher.

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

[](#installation)

To install this update your composer.json file to require

```
    "rafni/laravel-toolkit" : "~5.*"
```

Once the dependencies have been downloaded, add the service provider to your config/app.php file

```
    'providers' => [
        ...
        Rafni\LaravelToolkit\Providers\LaravelToolkitServiceProvider::class
        ...
    ]
```

You are done with the installation!

How to use
----------

[](#how-to-use)

Once installed, use the scaffold provided by the tool kit is very simple, just write in the **artisan console of your project** the following command:

```
    php artisan toolkit:package "service_name"
```

Use the command without quotes and in singular.

In the artisan console, if the process was successful, it will give you the access routes of the new generated resource, copy and paste these routes in the route file corresponding to your version of Laravel.

This will automatically generate the following files in your project:

```
    app/
        Http/
            Controllers/
                NameSpace/
                    ServiceNameController.php
        Repositories/
            NameSpace/
                ServiceNameEloquent.php
                ServiceNameService.php
                ServiceNameContract.php
    resources/
        views/
            NameSpace/
                index.blade.php
                show.blade.php
                create.blade.php
                edit.blade.php

```

Finally, in order for the contracts injected in the construction of the controllers do not result in a critical error, you must bind them to the service that will manage the service logic.

In your app/providers/AppServiceProvider.php file, bind them as follows:

```
    public function register()
    {
        ...
        $this->app->bind(ExampleServiceContract::class, ExampleService::class);
        ...
    }
```

Documentation
-------------

[](#documentation)

For documentation on this package, please visit the [wiki](https://github.com/rafni/laravel-toolkit/wiki).

Change log
----------

[](#change-log)

Please see the releases page

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email jose at ditecnologia dot com instead of using the issue tracker.

Credits
-------

[](#credits)

- [Alberto Rafael](https://github.com/rafni)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](license.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3194d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ca44a01b799b9d6fd9569bcbfb91d9d6b9a92c5ef769744dd6028d6befe402d?d=identicon)[rafni](/maintainers/rafni)

---

Top Contributors

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

---

Tags

automationcrud-generatorlaravellaravel5phpphp-librarytoolkit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rafni-laravel-toolkit/health.svg)

```
[![Health](https://phpackages.com/badges/rafni-laravel-toolkit/health.svg)](https://phpackages.com/packages/rafni-laravel-toolkit)
```

###  Alternatives

[patricktalmadge/bootstrapper

Twitter Bootstrap markup generator

555410.4k4](/packages/patricktalmadge-bootstrapper)[nwidart/laravel-menus

Laravel Menu management

171181.5k10](/packages/nwidart-laravel-menus)[pingpong/menus

Laravel Menus

68228.0k13](/packages/pingpong-menus)[akaunting/laravel-menu

Menu and sidebar management package for Laravel

38248.3k](/packages/akaunting-laravel-menu)[djoudi/laravel-h5p

H5P Plugin for Laravel platform - Updated for Laravel 12

232.2k](/packages/djoudi-laravel-h5p)[jtgrimes/less4laravel

Bringing lessphp into Laravel

183.4k](/packages/jtgrimes-less4laravel)

PHPackages © 2026

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