PHPackages                             sethios/laravel-tools - 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. sethios/laravel-tools

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

sethios/laravel-tools
=====================

Several tools for Laravel development

v1.0.3(5y ago)063MITPHP

Since Dec 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Sethios/laravel-tools)[ Packagist](https://packagist.org/packages/sethios/laravel-tools)[ RSS](/packages/sethios-laravel-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (6)Used By (0)

Laravel Tools
=============

[](#laravel-tools)

A set of tools for generating basic Laravel scaffolding (including Model, Controller, View, Seeders, Migrations...).

It also includes a tool for database reseeding via Factories and/or CSV file.

Installation:
=============

[](#installation)

Require the package with composer:

> composer require --dev sethios/laravel-tools

After installation run this command for the DB reseed function to work:

> php artisan vendor:publish --tag=config

The generated config file includes basic User model configuration. You can add any other model.

Database reseed
===============

[](#database-reseed)

Reseed a table (or tables) with php artisan by running:

> php artisan db:reseed user

Parameters
----------

[](#parameters)

- "reset" -&gt; (optional) name of migration file, used if you wish to re-migrate
- "tables" -&gt; array of database table names you wish to reset when running a db:reseed
- "class" -&gt; name od model seeder class ex. UserSeeder

Create MVC
==========

[](#create-mvc)

Generate scaffolding for a model by running:

> php artisan create:mvc user

The default command will generate the following files:app/Models/User.php

```
app/Http/Requests/UserRequest.php
app/Http/Controllers/UserController.php
app/Events/UserEvent.php
app/Listeners/UserDeleted.php
app/Listeners/UserStored.php
app/Listeners/UserUpdated.php
app/Observers/UserObserver.php
database/migrations/2021_02_05_105447_create_users_table.php
database/factories/UserFactory.php
database/seeds/UserSeeder.php
resources/lang/en/user.php
resources/js/includes/user.js
resources/views/user/index.blade.php
resources/views/user/new.blade.php
resources/views/user/edit.blade.php
resources/views/user/partials/form.blade.php
resources/views/user/partials/userListItem.blade.php
resources/views/user/partials/actions.blade.php
resources/views/user/partials/inputs.blade.php

```

It will also try and modify these files by searching for the commented line "*Create mvc*" used as a placeholder: \[^1\]

```
routes/web.php
resources/views/layouts/partials/sidebar.blade.php
app/Providers/AppServiceProvider.php
app/Providers/EventServiceProvider.php
database/seeds/DatabaseSeeder.php
resources/js/app.js

```

Options
-------

[](#options)

There are several flags that can be used that reduce the amount of files generated i.e. specify which files you want to generate:

```
--m : Include Model, migration
--c : Include Controller and route
--b : Include Blade, CSS, JS files and route
--s : Include Seeder and Factory
--l : Include logic in AppServiceProvider, Events, Listeners and Observers

```

To Do
=====

[](#to-do)

- Remove the need for commented placeholders in files that need to be modified \[^1\]
- Include a JSON and/or config file to pre-setup a models generation i.e. pre-define models attributes / database columns. Make it so it also generates the code for Seeders and Factories
- Automated model relations via pre-defined attributes configuration

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~13 days

Total

4

Last Release

1927d ago

### Community

Maintainers

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

---

Top Contributors

[![Sethios](https://avatars.githubusercontent.com/u/11542423?v=4)](https://github.com/Sethios "Sethios (5 commits)")[![dinoofir](https://avatars.githubusercontent.com/u/159890789?v=4)](https://github.com/dinoofir "dinoofir (1 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/sethios-laravel-tools/health.svg)

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

PHPackages © 2026

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