PHPackages                             larapire/laris - 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. [CLI &amp; Console](/categories/cli)
4. /
5. larapire/laris

ActiveLibrary[CLI &amp; Console](/categories/cli)

larapire/laris
==============

A supercharged Laravel development CLI tool for faster workflow

v1.0.0.1(11mo ago)02MITPHPPHP ^8.2CI passing

Since Jun 17Pushed 5mo agoCompare

[ Source](https://github.com/itashia/laris)[ Packagist](https://packagist.org/packages/larapire/laris)[ RSS](/packages/larapire-laris/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

**Laris** - The Ultimate Laravel Artisan Companion You Didn’t Know You Needed!
==============================================================================

[](#laris---the-ultimate-laravel-artisan-companion-you-didnt-know-you-needed)

```
          _____            _____                    _____                    _____                    _____
         /\    \          /\    \                  /\    \                  /\    \                  /\    \
        /::\____\        /::\    \                /::\    \                /::\    \                /::\    \
       /:::/    /       /::::\    \              /::::\    \               \:::\    \              /::::\    \
      /:::/    /       /::::::\    \            /::::::\    \               \:::\    \            /::::::\    \
     /:::/    /       /:::/\:::\    \          /:::/\:::\    \               \:::\    \          /:::/\:::\    \
    /:::/    /       /:::/__\:::\    \        /:::/__\:::\    \               \:::\    \        /:::/__\:::\    \
   /:::/    /       /::::\   \:::\    \      /::::\   \:::\    \              /::::\    \       \:::\   \:::\    \
  /:::/    /       /::::::\   \:::\    \    /::::::\   \:::\    \    ____    /::::::\    \    ___\:::\   \:::\    \
 /:::/    /       /:::/\:::\   \:::\    \  /:::/\:::\   \:::\____\  /\   \  /:::/\:::\    \  /\   \:::\   \:::\    \
/:::/____/       /:::/  \:::\   \:::\____\/:::/  \:::\   \:::|    |/::\   \/:::/  \:::\____\/::\   \:::\   \:::\____\
\:::\    \       \::/    \:::\  /:::/    /\::/   |::::\  /:::|____|\:::\  /:::/    \::/    /\:::\   \:::\   \::/    /
 \:::\    \       \/____/ \:::\/:::/    /  \/____|:::::\/:::/    /  \:::\/:::/    / \/____/  \:::\   \:::\   \/____/
  \:::\    \               \::::::/    /         |:::::::::/    /    \::::::/    /            \:::\   \:::\    \
   \:::\    \               \::::/    /          |::|\::::/    /      \::::/____/              \:::\   \:::\____\
    \:::\    \              /:::/    /           |::| \::/____/        \:::\    \               \:::\  /:::/    /
     \:::\    \            /:::/    /            |::|  ~|               \:::\    \               \:::\/:::/    /
      \:::\    \          /:::/    /             |::|   |                \:::\    \               \::::::/    /
       \:::\____\        /:::/    /              \::|   |                 \:::\____\               \::::/    /
        \::/    /        \::/    /                \:|   |                  \::/    /                \::/    /
         \/____/          \/____/                  \|___|                   \/____/                  \/____/

```

---

What the Heck is Laris?
=======================

[](#what-the-heck-is-laris)

Laris is **not just another CLI tool**—it’s **your Laravel Artisan on steroids**.

Tired of typing `php artisan` **a million times a day**?
Annoyed by forgetting command syntax **right after you Google it**?
Wish you had a **smarter, faster, cooler** way to manage Laravel projects?

**Enter Laris.**

It’s like if **Artisan had a caffeine overdose** and decided to **automate your life**.

---

Why Laris is the GOAT (Greatest Of All Time)
============================================

[](#why-laris-is-the-goat-greatest-of-all-time)

- Shorter Commands – `laris` instead of `php artisan` (because laziness = efficiency).
- Project Switching – Jump between Laravel projects like a **multitasking wizard**.
- Database Magic – Run queries, fake data, and **play God with your DB**.
- Deploy Like a Pro – One command to **push, migrate, and flex**.
- Git &amp; Composer Shortcuts – Because typing `git push origin main` is **so 2020**.
- Backup &amp; Docs – Automate boring stuff **before you forget**.
- Extensible AF – Add your own commands and **make it yours**.

---

Laris in Action: The Cheat Sheet
================================

[](#laris-in-action-the-cheat-sheet)

CommandWhat It Does (Because You’re Too Lazy to Guess)`laris list`Lists all commands (duh)`laris select`Switch between Laravel projects **like a boss**`laris db list-tables`Shows all DB tables (so you can judge them)`laris db select users`Runs `SELECT * FROM users` (but fancier)`laris db fake-data`Fill your DB with **beautiful lies** (seeding)`laris backup run`Backs up your project (before you break it)`laris deploy`Deploys with **one keystroke** (no excuses now)`laris git push`Pushes to Git **without typing the whole thing**`laris npm run dev`Runs npm **because frontend is hard**`laris docs generate`Generates docs (so you don't have to)`laris performance`Monitor Laravel app performance **like a pro**---

Installation: Get Laris in 3 Seconds
====================================

[](#installation-get-laris-in-3-seconds)

### Option 1: The "I’m in a Hurry" Method

[](#option-1-the-im-in-a-hurry-method)

```
composer require larapire/laris
```

### Option 2: The "I’m in a Hurry" Method

[](#option-2-the-im-in-a-hurry-method)

```
git@github.com:LaraPire/laris.git  && cd laris
```

### Option 3: The "I Like Aliases" Method

[](#option-3-the-i-like-aliases-method)

Add this to your `.bashrc` or `.zshrc`:

```
alias laris='php /path/to/laris/src/Application.php'
```

### Option 4: The "I Want Global Access" Method

[](#option-4-the-i-want-global-access-method)

Symlink it to `/usr/local/bin` (for **ultimate power**):

```
ln -s /path/to/laris/src/Application.php /usr/local/bin/laris
```

Now just type `laris` **anywhere, anytime**.

---

Usage: How to Not Screw It Up
=============================

[](#usage-how-to-not-screw-it-up)

1. Navigate to a Laravel project (or use `laris select` to pick one).
2. Run commands like a pro:

    ```
    laris db list-tables   # See what’s in your DB
    laris db fake-data     # Fill it with nonsense
    laris deploy           # Ship it!
    ```
3. Profit.

AI-Powered Generators
=====================

[](#ai-powered-generators)

All AI-based commands follow this structure:

```
php laris laris:ai:make:{component}
```

Examples:

```
~> laris laris:ai:make:controller
~> laris laris:ai:make:model
~> laris laris:ai:make:request
~> laris laris:ai:make:factory
~> laris laris:ai:make:migration
~> laris laris:ai:make:seeder
```

Each command will ask questions in your terminal and generate the appropriate Laravel file using OpenRouter AI.

---

Full Module Generation
======================

[](#full-module-generation)

Generate a complete module (Model, Controller, Migration, etc.) using:

```
~> laris laris:ai:generate:module
```

---

Documentation Commands
======================

[](#documentation-commands)

Generate documentation and readme files easily:

```
~> laris laris:ai:generate:docs
~> laris laris:ai:generate:readme
```

---

Test Generation
===============

[](#test-generation)

Automatically create test classes for your existing code:

```
~> laris laris:ai:generate:test
```

---

Refactor Classes
================

[](#refactor-classes)

Refactor any PHP class using AI (SOLID, PSR-12, clean code):

```
~> laris laris:ai:refactor:class
```

---

Performance Monitoring
======================

[](#performance-monitoring)

Monitor and analyze your Laravel application's performance with comprehensive metrics:

```
~> laris laris:performance
~> laris laris:performance --detailed
~> laris laris:performance --database
~> laris laris:performance --memory
~> laris laris:performance --routes
~> laris laris:performance --export=json
```

The performance command provides:

- **Database Query Analysis** - Slow queries, N+1 problems, and optimization suggestions
- **Memory Usage Monitoring** - Peak memory, memory leaks, and optimization tips
- **Route Performance** - Response times, bottlenecks, and caching recommendations
- **System Resource Usage** - CPU, disk I/O, and server performance metrics
- **Optimization Recommendations** - Actionable suggestions to improve your app's performance

---

Configuring AI
==============

[](#configuring-ai)

Before using AI commands, set your OpenRouter key:

```
~> laris laris:ai:config
```

---

For Nerds Who Love Code
=======================

[](#for-nerds-who-love-code)

Laris is built with:

- **Pure PHP OOP** (because we’re not animals)
- **Modular Commands** in `src/Commands/` (add your own!)
- **DB Helpers** in `src/Library/DB/` (SQL without the pain)
- **Concerns for Reusable Logic** (DRY is life)

Want to **add a command**? Just drop a new class in `src/Commands/`.

---

Contribute (Because Sharing is Caring)
======================================

[](#contribute-because-sharing-is-caring)

1. **Fork it**
2. **Add a cool feature**
3. **Submit a PR**
4. **Brag about it on Twitter**

---

License
=======

[](#license)

MIT. Do whatever. Just don’t blame us if your DB explodes.

---

Final Words
===========

[](#final-words)

Laris exists because **typing `php artisan` is a crime against productivity**.

Now go **automate your workflow**, **impress your coworkers**, and **spend more time drinking coffee**.

Happy coding!

*(P.S. If you break something, just run `laris backup run` first. You’re welcome.)*

---

Need **more details?** Check the `docs/` folder or **yell at us on GitHub**

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance64

Regular maintenance activity

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.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

Unknown

Total

1

Last Release

336d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0dd90dec765b0cbdd08c0bfcef64e4e3e0d97f314867abf2afdc70d4e3551ac8?d=identicon)[itashia](/maintainers/itashia)

---

Top Contributors

[![itashia](https://avatars.githubusercontent.com/u/203550694?v=4)](https://github.com/itashia "itashia (23 commits)")[![Rayiumir](https://avatars.githubusercontent.com/u/11635923?v=4)](https://github.com/Rayiumir "Rayiumir (4 commits)")[![mirzaaghazadeh](https://avatars.githubusercontent.com/u/7956983?v=4)](https://github.com/mirzaaghazadeh "mirzaaghazadeh (1 commits)")

---

Tags

clilaraveltoollarapireLaris

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/larapire-laris/health.svg)

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

###  Alternatives

[laravel/installer

Laravel application installer.

83610.7M20](/packages/laravel-installer)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[statamic/cli

Statamic CLI Tool

7587.7k](/packages/statamic-cli)

PHPackages © 2026

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