PHPackages                             michielgerritsen/shorty - 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. michielgerritsen/shorty

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

michielgerritsen/shorty
=======================

v0.1.0(7y ago)10191GPL-3.0-or-laterPHPPHP ^7.0

Since Nov 4Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

Shorty
======

[](#shorty)

Local commands
--------------

[](#local-commands)

Shorty is created to make it easy to create shortcuts to commands. Just run for example:

`shorty add symfony bin/console`

Now you have the `symfony` command available globally. When you switch to another folder, the symfony command will still work and be executed in the folder where you added the Shorty command.

Global commands
---------------

[](#global-commands)

You can also add global commands. Shorty will search for this command in all underlying folders. So for example, when running:

`shorty global symfony bin/console`

You can then execute the `symfony` command in any folder within your Symfony project. So when you are in `config/packages/dev` for example, you can run:

`symfony server:run`

And the server will be started. This will work for any Symfony project.

How to add Laravel's Artisan?
-----------------------------

[](#how-to-add-laravels-artisan)

When installing Laravel on the recommended way, the `artisan` file is not executable. This prevents Shorty from running it in the default way. That's why you need to provide it with the interpreter is needs. You can add the `artisan` command to Shorty like this:

`shorty global artisan artisan --interpreter=$(which php)`

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

[](#installation)

Shorty is meant to be installed global using Composer:

`composer global require michielgerritsen/shorty`

The fix command
---------------

[](#the-fix-command)

Sometimes you mess up your global Composer folder and the commands won't work anymore. You can use the `fix` command to remove and reinstall all commands.

```
shorty fix

```

### Roadmap/Whislist

[](#roadmapwhislist)

- tests - tests - tests.
- Default configuration for software like Laravel/Symfony/Magento/etc.
- Add your own suggestion by opening an issue or sending a pull request.

Build with ❤ by [@michielgerritsen](https://www.michielgerritsen.com)

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.1% 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 ~74 days

Total

2

Last Release

2721d ago

### Community

Maintainers

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

---

Top Contributors

[![michielgerritsen](https://avatars.githubusercontent.com/u/5858697?v=4)](https://github.com/michielgerritsen "michielgerritsen (27 commits)")[![war-blake](https://avatars.githubusercontent.com/u/54041983?v=4)](https://github.com/war-blake "war-blake (2 commits)")

### Embed Badge

![Health badge](/badges/michielgerritsen-shorty/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136400.8k14](/packages/rector-rector-src)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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