PHPackages                             kofoworola/route-commands - 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. kofoworola/route-commands

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

kofoworola/route-commands
=========================

v1.1(7y ago)41489[2 issues](https://github.com/kofoworola/route-commands/issues)MITPHPPHP &gt;=7.0

Since Oct 18Pushed 7y ago3 watchersCompare

[ Source](https://github.com/kofoworola/route-commands)[ Packagist](https://packagist.org/packages/kofoworola/route-commands)[ RSS](/packages/kofoworola-route-commands/feed)WikiDiscussions master Synced 2w ago

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

RouteCommands
=============

[](#routecommands)

RouteCommands is a laravel library that allows you run configured laravel commands directly from a route.

It is particularly useful for situations where laravel is being run on an environment with little to no ssh access

Getting started
---------------

[](#getting-started)

Install RouteCommands by running:

`composer require kofoworola/route-commands`

Then run `php artisan vendor:publish`, this will publish the `config/commands.php` file to your project where you can then setup your commands

Once your commands and routes have been setup, simply navigate to your route e.g `http://localhost/commands/route_list` and you should be greeted with a screen similar to the one below if authentication has been enabled:

[![image](https://camo.githubusercontent.com/8231905333fe5fa0708b12ba9da4afefd3b4d1accdfc21c4d1288a679c8686e9/68747470733a2f2f692e696d6775722e636f6d2f6f76544a556d4b2e706e67 "Image")](https://camo.githubusercontent.com/8231905333fe5fa0708b12ba9da4afefd3b4d1accdfc21c4d1288a679c8686e9/68747470733a2f2f692e696d6775722e636f6d2f6f76544a556d4b2e706e67)

After filling in your password and hitting enter your commands would run [![image](https://camo.githubusercontent.com/17de5e3dacbb1f7bba7fb31f60352d8684d59e4c3c3039f7be3712fd9aef58b3/68747470733a2f2f692e696d6775722e636f6d2f554334734c30552e706e67 "Image")](https://camo.githubusercontent.com/17de5e3dacbb1f7bba7fb31f60352d8684d59e4c3c3039f7be3712fd9aef58b3/68747470733a2f2f692e696d6775722e636f6d2f554334734c30552e706e67)

To add new commands or block new commands simply update the config file and re-cache your config by navigating to `/config_cache`.

### this package does nut run commands with `exec()` thats just plain unsafe

[](#this-package-does-nut-run-commands-with-exec-thats-just-plain-unsafe)

This library was born out of my frustration with using Laravel on a shared hosting environment. I hope you find some good use for it.

Enjoy!

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2808d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15363616?v=4)[Kofo Okesola](/maintainers/kofoworola)[@kofoworola](https://github.com/kofoworola)

---

Top Contributors

[![kofoworola](https://avatars.githubusercontent.com/u/15363616?v=4)](https://github.com/kofoworola "kofoworola (17 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/kofoworola-route-commands/health.svg)

```
[![Health](https://phpackages.com/badges/kofoworola-route-commands/health.svg)](https://phpackages.com/packages/kofoworola-route-commands)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M131](/packages/laravel-mcp)[anahkiasen/former

A powerful form builder

1.4k1.4M14](/packages/anahkiasen-former)[genealabs/laravel-caffeine

Keeping Your Laravel Forms Awake

9372.1M10](/packages/genealabs-laravel-caffeine)[watson/active

Laravel helper for recognising the current route, controller and action

3363.8M14](/packages/watson-active)[masmerise/livewire-toaster

Beautiful toast notifications for Laravel / Livewire.

510630.3k7](/packages/masmerise-livewire-toaster)

PHPackages © 2026

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