Download the PHP package vardanm1993/laravel-alias-manager without Composer
On this page you can find all versions of the php package vardanm1993/laravel-alias-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vardanm1993/laravel-alias-manager
More information about vardanm1993/laravel-alias-manager
Files in vardanm1993/laravel-alias-manager
Package laravel-alias-manager
Short Description A professional, project-aware DAM-style alias manager for Laravel, Sail, Composer, Git, frontend, quality, Docker, security, and daily workflows.
License MIT
Homepage https://github.com/vardanm1993/laravel-alias-manager
Informations about the package laravel-alias-manager
Laravel Alias Manager
A professional, project-aware alias and shortcut manager for Laravel, PHP, Sail, Composer, Git, GitHub CLI, npm, pnpm, Yarn, Vite, Pest, Pint, Rector, PHPStan, Docker, security, and daily full-stack workflows.
Laravel Alias Manager keeps daily terminal shortcuts organized, readable, safe, and project-aware. It ships DAM-style full-stack Laravel aliases, install presets, searchable catalogs, daily favorites, guarded shell functions, and safe Bash/Zsh profile installation without touching the rest of the file.
Preview
Features
- DAM-style aliases for full-stack Laravel, PHP, frontend, Sail, quality, Docker, GitHub CLI, security, and project workflow commands
- Install presets such as
core,fullstack,sail,frontend,ops, andpro - Search command for alias names, groups, and command text
- Daily favorites rendered into
daily/lamdaily - Project-aware shell guard that detects a Laravel root before any shortcut runs
- Shortcuts run from the Laravel project root, even when called from nested directories
- Laravel package auto-discovery
- Publishable configuration
- Console commands for listing, showing, searching, previewing, installing, uninstalling, presets, daily favorites, and diagnostics
- Safe Bash and Zsh profile detection
- Timestamped shell-file backups before writes
- Reversible managed shell blocks with stable begin and end markers
- Pest, Pint, PHPStan, Rector, and GitHub Actions quality coverage
Installation
Install the package with Composer:
Publish the configuration when you want to customize groups or aliases:
Quick Start
Inspect the available groups:
Inspect install presets:
Search aliases:
Preview aliases before writing anything:
Install a preset into the detected shell profile:
Install selected groups into a specific shell file:
Inspect daily favorites:
Remove the managed block:
Check package readiness:
Alias Groups
| Group | Focus |
|---|---|
system |
Project-root terminal helpers |
git |
Daily Git status, add, commit, diff, log, pull, push, and stash |
github |
GitHub CLI pull request and Actions shortcuts |
docker |
Docker and Docker Compose lifecycle, logs, exec, and cleanup |
composer |
Install, update, require, remove, autoload, and package inspection |
php |
PHP runtime inspection and Laravel Tinker |
artisan |
Artisan, routes, database, queues, logs, storage, cache, and generators |
sail |
Sail lifecycle, Artisan, generators, Composer, npm, pnpm, Yarn, PHP, Pest, Pint, Rector, PHPStan, and logs |
npm |
npm and Vite install, dev, build, typecheck, lint, format, preview, audit, and outdated |
pnpm |
pnpm install, dev, build, preview, test, lint, format, add, and remove |
yarn |
Yarn install, dev, build, preview, test, lint, format, add, and remove |
quality |
Pest, Pint, Rector, PHPStan, and full quality pipelines |
security |
.env, app key, Composer audit, npm audit, and writable path checks |
workflow |
Project doctor, start, stop, dev flow, and check-all shortcuts |
Presets
| Preset | Groups |
|---|---|
core |
system, git, composer, php, artisan |
fullstack |
Core Laravel plus frontend, quality, security, and workflow |
sail |
Sail-first Laravel development |
frontend |
npm, pnpm, yarn |
ops |
docker, github, security, workflow |
pro |
Everything |
Show the exact aliases in any group:
DAM-Style Examples
Older v0.3 aliases such as lserve, lfreshseed, saildev, and qfix are still available as compatibility aliases.
Shell Safety
Shortcuts are rendered as shell functions inside a managed shell block:
The managed block includes a small shell guard. Before a shortcut runs, it searches upward from the current directory for a Laravel root containing artisan, composer.json, and bootstrap/app.php. If no Laravel project is found, the shortcut stops with:
When a Laravel project is found, the shortcut runs from that project root. That means routes, snrd, or qa work from nested directories like app/Http/Controllers, but they do not run from unrelated folders.
The block also provides helpers:
Install and uninstall commands only replace or remove the package-owned block. Existing aliases, exports, functions, prompts, and custom shell configuration outside that block are left untouched.
Before modifying an existing shell file, the package creates a timestamped .bak backup by default.
Configuration
After publishing the config, edit config/alias-manager.php:
Then preview or install your custom group:
Custom aliases are guarded the same way as the built-in catalog, so they only run inside a detected Laravel project.
You can configure daily favorites:
Or pass them during install:
Development
Run the full local quality suite:
Individual checks are also available:
License
Laravel Alias Manager is open-sourced software licensed under the MIT license.