marceloxp/laravel_commands

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel Artisan Commands Utilities

1.0.21 2019-03-20 16:40 UTC

This package is auto-updated.

Last update: 2022-08-26 05:56:04 UTC


README

Laravel Artisan Command Utilities v1.0.21

Screen

Screen

Install

composer require marceloxp/laravel_commands

Usage

php artisan xp

Local dev test

package.json

    "repositories":
    {
        "dev-package":
        {
            "type": "path",
            "url": "~/git/laravel_commands",
            "options":
            {
                "symlink": true
            }
        }
    },

Commands

Migrate

  • Status
  • Create migration with model
  • Create custom migrate
  • Preview
  • Rollback
  • Execute migration
  • Drop all tables and migrate

Models

  • Simple foreign key
  • Rules generator

Seeds

  • Create
  • Execute One
  • Execute All

System

  • Composer Dump-Autoload
  • Apache reload (Linux)

Database

  • Show config (from .env)
  • Show tables
  • Show fields from table
  • Show fields from table (csv)
  • Dump database