PHPackages                             premsoni/laravel-artisan-shortcuts - 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. premsoni/laravel-artisan-shortcuts

ActiveLibrary

premsoni/laravel-artisan-shortcuts
==================================

Shortcuts for Laravel Artisan commands

v1.0.0(1y ago)07MITPHPPHP &gt;=8.1

Since May 6Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/prem-soni/prem-soni-laravel-artisan-shortcuts)[ Packagist](https://packagist.org/packages/premsoni/laravel-artisan-shortcuts)[ RSS](/packages/premsoni-laravel-artisan-shortcuts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Laravel Artisan Shortcuts
=========================

[](#laravel-artisan-shortcuts)

A simple package to create shortcuts for common Artisan commands in Laravel.

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

[](#installation)

To install the package, you can use Composer. Run the following command in the root directory of your Laravel project:

```
composer require premsoni/laravel-artisan-shortcuts:^1.0
```

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

[](#installation-1)

If the package is not published on Packagist, you can install it using the GitHub VCS method:

### Step 1: Add the repository to your Laravel project's `composer.json`

[](#step-1-add-the-repository-to-your-laravel-projects-composerjson)

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/prem-soni/prem-soni-laravel-artisan-shortcuts"
    }
]
## Usage

Once the package is installed, you can use the following shortcut commands:

### 1. **`c`** - Create a Controller

Create a new controller with the following shortcut:

```bash
php artisan ps c ControllerName
```

This will create a new controller named `ControllerNameController`.

### 2. **`m`** - Create a Model with Migration, Controller, and Resource

[](#2-m---create-a-model-with-migration-controller-and-resource)

Create a model along with migration, controller, and resource file:

```
php artisan ps m ModelName
```

This will generate a model with the necessary components.

### 3. **`mig`** - Run Migrations

[](#3-mig---run-migrations)

To run the migrations:

```
php artisan ps mig
```

This will execute all pending migrations.

### 4. **`seed`** - Run Seeders

[](#4-seed---run-seeders)

To run all seeders:

```
php artisan ps sd
```

This will execute all the seeders for your database.

### 5. **`rlist`** - List All Routes

[](#5-rlist---list-all-routes)

To list all the routes defined in the application:

```
php artisan ps rlist
```

This will show all available routes.

### 6. **`s`** - Serve the Application

[](#6-s---serve-the-application)

To start the Laravel development server:

```
php artisan ps s
```

This will run `php artisan serve`.

### 7. **`migrate:refresh`** - Refresh the Database

[](#7-migraterefresh---refresh-the-database)

To refresh the database by rolling back all migrations and re-running them:

```
php artisan ps mip
```

This will execute `php artisan migrate:refresh`.

Contributing
------------

[](#contributing)

If you would like to contribute to this package, feel free to fork the repository, make changes, and submit a pull request.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance71

Regular maintenance activity

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

372d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e66011fe5710834f104a2d7f96fa5e00fda1b16363a2a269e8dbf77e674f247?d=identicon)[prem-soni](/maintainers/prem-soni)

---

Top Contributors

[![prem-soni](https://avatars.githubusercontent.com/u/75517405?v=4)](https://github.com/prem-soni "prem-soni (34 commits)")

### Embed Badge

![Health badge](/badges/premsoni-laravel-artisan-shortcuts/health.svg)

```
[![Health](https://phpackages.com/badges/premsoni-laravel-artisan-shortcuts/health.svg)](https://phpackages.com/packages/premsoni-laravel-artisan-shortcuts)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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