PHPackages                             ctf0/helper-cmnds - 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. [CLI &amp; Console](/categories/cli)
4. /
5. ctf0/helper-cmnds

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

ctf0/helper-cmnds
=================

Some Helper Console Cmnds For Laravel To Speedup The Usual Workflow

v2.0.1(5y ago)3231MITPHP

Since Jun 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ctf0/Laravel-Helper-Cmnds)[ Packagist](https://packagist.org/packages/ctf0/helper-cmnds)[ Docs](https://github.com/ctf0/Laravel-Helper-Cmnds)[ RSS](/packages/ctf0-helper-cmnds/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (2)Versions (25)Used By (0)

 Laravel Helper Cmnds
 [![Latest Stable Version](https://camo.githubusercontent.com/6fc8913d574fd7430509a256b2dcea025c177761b4bc5b093713304f662f6852/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f637466302f68656c7065722d636d6e64732e737667)](https://packagist.org/packages/ctf0/helper-cmnds) [![Total Downloads](https://camo.githubusercontent.com/547fe712c4dd5497f655a7bdd8a03398d83d2331e04146b0f1742522df20593e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f637466302f68656c7065722d636d6e64732e737667)](https://packagist.org/packages/ctf0/helper-cmnds)
=========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#----laravel-helper-cmnds---------)

A helper console cmnds to speedup the usual workflow.

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

[](#installation)

- `composer require ctf0/helper-cmnds`

Usage
-----

[](#usage)

```
ex:clear       # Clear (Bootstrap-Files/Cache/Config/Route-Cache/View/Session/Compiled/Laravel-LogFile/Pass-Resets)
ex:finetune    # Cache (Bootstrap-Files/View/Config/Routes/Events)
ex:make        # Make (Controller/Model/Migration/Seeder/Route/View/Validation)
```

**1-** ex:clear

> - php artisan optimize:clear
> - Cache::store('file')-&gt;flush();
> - Session::flush()
> - File::cleanDirectory(config('session.files'));
> - File::put(storage\_path('logs/laravel.log'), '');
> - php artisan auth:clear-resets `if the table was migrated`
> - composer dump-autoload

- an event gets fired when this command has finished in case you want to run something else after it, and you can hook into it through:

    ```
    // app/Providers/EventServiceProvider.php
    public function boot()
    {
        parent::boot();

        Event::listen('clearAll.done', function () {
            // any other cmnds you want to run
        });
    }
    ```

**2-** ex:finetune

> - composer dump-autoload
> - php artisan optimize
> - php artisan view:cache
> - php artisan event:cache

**3-** ex:make (for a two word className ex. `SubPage`, write it as `sub_page`)

> - Validation \[y/N\] [Read More](https://ctf0.wordpress.com/2016/10/16/extend-formrequest-to-allow-more-functionality-in-laravel-v5-3/).
>
>
>     - create 2 classes for **Update &amp; Store** `php artisan make:request {name}`
>     - register the **FormRequest** classes to the controller automatically
> - Controller
>
>
>     - if "Route Model Binding" we will add the **Model** class to the controller automatically
>     - php artisan make:controller --resource
> - Model &amp; Migration
>
>
>     - create `App/Models/BaseModel.php` if not found
>     - create `App/Models/ClassName.php`
>     - `php artisan make:migration {name} --create`
> - Seeder \[y/N\]
>
>
>     - php artisan make:seeder
>     - create a seeder file &amp; register it under `DatabaseSeeder::run()`.
> - Routes \[y/N\] [Also Check](http://code4fun.io/post/how-to-share-data-with-all-views-in-laravel-5-3-the-right-way)
>
>
>     - creates a new folder in `routes/WebRoutes/ClassName.php`.
>     - append a loop to `web.php` to include all the files from the `routes/WebRoutes` folder.
> - Views \[y/N\]
>
>
>     - create a new folder in `resources/views/pages/ClassName/` + files for **'index/create/show/edit'**.

### Security

[](#security)

If you discover any security-related issues, please email .

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% 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 ~57 days

Recently: every ~39 days

Total

24

Last Release

2009d ago

Major Versions

v1.4.6 → v2.0.02021-01-28

PHP version history (2 changes)v1.0.0PHP ~5.6|~7.0

v1.2.1PHP ~7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/51dbfff65441e32301575f8ac241895817975e754d15574b86f543b33f1961f6?d=identicon)[ctf0](/maintainers/ctf0)

---

Top Contributors

[![ctf0](https://avatars.githubusercontent.com/u/7388088?v=4)](https://github.com/ctf0 "ctf0 (75 commits)")[![jasrys](https://avatars.githubusercontent.com/u/11322354?v=4)](https://github.com/jasrys "jasrys (1 commits)")

---

Tags

consolelaravelphplaravelctf0helper commands

### Embed Badge

![Health badge](/badges/ctf0-helper-cmnds/health.svg)

```
[![Health](https://phpackages.com/badges/ctf0-helper-cmnds/health.svg)](https://phpackages.com/packages/ctf0-helper-cmnds)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)

PHPackages © 2026

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