Shorty is a PHP package which we can use to run console commands from any directory inside our project. It can be used with Laravel as well.

laravel shorty package

Installation

Shorty has only 1 dependency: You need to add ~/.composer/vendor/bin to your $PATH. Most people already have this, so installing is only one command:

composer global require michielgerritsen/shorty

Introduction

https://www.michiel-gerritsen.com/introducing-shorty/

Source Code

https://github.com/michielgerritsen/shorty