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 today

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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

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

2671d 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

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[overtrue/php-opencc

中文简繁转换，支持词汇级别的转换、异体字转换和地区习惯用词转换（中国大陆、台湾、香港、日本新字体）。基于 \[BYVoid/OpenCC\](https://github.com/BYVoid/OpenCC) 数据实现。

12130.7k](/packages/overtrue-php-opencc)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

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