PHPackages                             muhaiminshihab/ctaroutes - 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. muhaiminshihab/ctaroutes

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

muhaiminshihab/ctaroutes
========================

CtaRoutes is a Laravel package that provides a set of convenient routes for common Artisan commands.

1.0.2(1y ago)1184MITPHPPHP ^7.3|^8.0|^8.1|^8.2

Since May 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/muhaiminShihab/cta-routes)[ Packagist](https://packagist.org/packages/muhaiminshihab/ctaroutes)[ RSS](/packages/muhaiminshihab-ctaroutes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

`CtaRoutes` Package for Laravel Applications.
=============================================

[](#ctaroutes-package-for-laravel-applications)

`CtaRoutes` is a Laravel package that provides a set of convenient routes for common Artisan commands. These routes allow you to quickly perform tasks such as clearing caches, creating storage links, and running database migrations directly from your browser.

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

[](#installation)

You can install the package via Composer:

```
composer require muhaiminshihab/ctaroutes
```

Available Routes
----------------

[](#available-routes)

- Create Storage links:

    Create a symbolic link from `public/storage` to `storage/app/public` using the `storage:link` command.

    ```
    GET /cta-routes/storage-link
    ```
- Clear Optimized Files

    Remove the compiled class file, caches, and more using the `optimize:clear` command.

    ```
    GET /cta-routes/optimize-clear
    ```
- Clear Application Cache

    Clear the application cache using the `cache:clear` command.

    ```
    GET /cta-routes/cache-clear
    ```
- Cache Configuration

    Create a cache file for faster configuration loading using the `config:cache` command.

    ```
    GET /cta-routes/config-cache
    ```
- Run Database Migrations

    Run the database migrations using the `migrate` command.

    ```
    GET /cta-routes/migrate
    ```
- Run Fresh Database Migrations

    Drop all tables and re-run all migrations using the `migrate:fresh` command.

    ```
    GET /cta-routes/migrate-fresh
    ```
- Seed Database

    Seed the database with records using the `db:seed` command.

    ```
    GET /cta-routes/migrate-seed
    ```

Usage
-----

[](#usage)

To use these routes, simply visit them in your browser. For example, to clear the application cache, go to:

```
http://your-app-url/cta-routes/cache-clear

```

A flash message will notify you of the action's result in the `message` session. For example: "Application optimized and cache cleared."

Security
--------

[](#security)

These routes execute powerful Artisan commands and should be used with caution. It's recommended to protect these routes with appropriate middleware or use them in a development environment only.

Licence
-------

[](#licence)

This package is open-sourced software licensed under the MIT license.

Stargazers
----------

[](#stargazers)

[![Stargazers repo roster for @muhaiminShihab/cta-routes](https://camo.githubusercontent.com/424b10877b892ed2db8c6f920bcc3e4474e37868f069feb7b41337f4b9dbc21d/68747470733a2f2f7265706f726f737465722e636f6d2f73746172732f6e6f746578742f6d756861696d696e5368696861622f6374612d726f75746573)](https://github.com/muhaiminShihab/cta-routes/stargazers)

Forkers
-------

[](#forkers)

[![Forkers repo roster for @muhaiminShihab/cta-routes](https://camo.githubusercontent.com/5cd4b85fed06cdf3188a2fb3cb7d075a16835fcb47377a820fa52ec00b17d273/68747470733a2f2f7265706f726f737465722e636f6d2f666f726b732f6e6f746578742f6d756861696d696e5368696861622f6374612d726f75746573)](https://github.com/muhaiminShihab/cta-routes/network/members)

Contributors
------------

[](#contributors)

[ ![](https://camo.githubusercontent.com/75fa532d8fe476ebd3bdacaad88d085d789932a3ea496e4899810ea7b639906a/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d6d756861696d696e5368696861622f6374612d726f75746573)](https://github.com/muhaiminShihab/cta-routes/graphs/contributors)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

555d ago

PHP version history (2 changes)1.0.1PHP ^7.3|^8.0

1.0.2PHP ^7.3|^8.0|^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e5ffa9a2306c5d90934d7f1f775e3067d4991ea3de3b8e712c22f8388e0b1ce?d=identicon)[muhaiminShihab](/maintainers/muhaiminShihab)

---

Top Contributors

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

---

Tags

composer-packagecta-routeslaravellaravel-artisan-commandslaravel-frameworklaravel-packagelaravel-routeslaravellaravel-packagecomposer-packagelaravel-frameworklaravel-routeslaravel-artisan-commandscta-routes

### Embed Badge

![Health badge](/badges/muhaiminshihab-ctaroutes/health.svg)

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

###  Alternatives

[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[richan-fongdasen/laravel-i18n

Simple route and eloquent localization / translation in Laravel

1296.6k](/packages/richan-fongdasen-laravel-i18n)[sheaf/cli

A CLI tool for Sheaf UI

269.3k1](/packages/sheaf-cli)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

251.1k](/packages/mwguerra-web-terminal)[a-bashtannik/fasti

Laravel task scheduler with calendar-based management.

133.6k](/packages/a-bashtannik-fasti)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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