DEV Community

marius-ciclistu
marius-ciclistu

Posted on • Originally published at marius-ciclistu.Medium on

Maravel Framework Dev 1.1.0 Adds 38 Dev Commands to Maravel/Lumen


Maravel Framework Dev

maravel-framework-dev 1.1.0 adds 38 new development commands to Maravel Micro-Framework (and Lumen).

These were already registered in Maravel before:

MacropaySolutions\MaravelFrameworkDev\Cache\Console\CacheTableCommand;
MacropaySolutions\MaravelFrameworkDev\Database\Console\DumpCommand;
MacropaySolutions\MaravelFrameworkDev\Database\Console\Migrations\MigrateMakeCommand;
MacropaySolutions\MaravelFrameworkDev\Database\Console\Seeds\SeederMakeCommand;
MacropaySolutions\MaravelFrameworkDev\Database\Console\WipeCommand;
MacropaySolutions\MaravelFrameworkDev\Queue\Console\BatchesTableCommand;
MacropaySolutions\MaravelFrameworkDev\Queue\Console\FailedTableCommand;
MacropaySolutions\MaravelFrameworkDev\Queue\Console\TableCommand;

MacropaySolutions\MaravelFrameworkDev\Database\Console\Migrations\MigrateMakeCommand;
MacropaySolutions\MaravelFrameworkDev\Database\Migrations\MigrationCreator;
Enter fullscreen mode Exit fullscreen mode

Note:

Not all the commands from Maravelith (described below) are available in Maravel, these are not available : event:generate, make:component, stub:publish, vendor:publish, route:list.

Commands:

php artisan about {--only= : The section to display}
        {--json : Output the information as JSON}

php artisan config:show {config : The configuration file to show}

php artisan db:show {--database= : The database connection}
        {--json : Output the database information as JSON}
        {--counts : Show the table row count <bg=red;options=bold> Note: This can be slow on large databases </>};
        {--views : Show the database views <bg=red;options=bold> Note: This can be slow on large databases </>}

php artisan db:table
        {table? : The name of the table}
        {--database= : The database connection}
        {--json : Output the table information as JSON}

php artisan docs {page? : The documentation page to open} {section? : The section of the page to open}

php artisan env:encrypt
        {--key= : The encryption key}
        {--cipher= : The encryption cipher}
        {--env= : The environment to be encrypted}
        {--force : Overwrite the existing encrypted environment file}

php artisan event:list {--event= : Filter the events by name}

php artisan key:generate
        {--show : Display the key instead of modifying files}
        {--force : Force the operation to run when in production}

php artisan lang:publish
        {--existing : Publish and overwrite only the files that have already been published}
        {--force : Overwrite any existing files}

php artisan make:migration {name : The name of the migration}
        {--create= : The table to be created}
        {--table= : The table to migrate}
        {--path= : The location where the migration file should be created}
        {--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
        {--fullpath : Output the full path of the migration (Deprecated)}

php artisan model:show {model : The model to show}
        {--database= : The database connection to use}
        {--json : Output the model as JSON}

php artisan schedule:list
        {--timezone= : The timezone that times should be displayed in}
        {--next : Sort the listed tasks by their next due date}

php artisan schedule:test {--name= : The name of the scheduled command to run}

php artisan schema:dump
        {--database= : The database connection to use}
        {--path= : The path where the schema dump file should be stored}
        {--prune : Delete all existing migration files}

php artisan stub:publish
        {--existing : Publish and overwrite only the files that have already been published}
        {--force : Overwrite any existing files}

php artisan vendor:publish
        {--existing : Publish and overwrite only the files that have already been published}
        {--force : Overwrite any existing files}
        {--all : Publish assets for all service providers without prompt}
        {--provider= : The service provider that has assets you want to publish}
        {--tag=* : One or many tags that have assets you want to publish}

php artisan cache:table

php artisan channel:list

php artisan db:wipe

php artisan event:generate

php artisan make:cast

php artisan make:channel

php artisan make:command

php artisan make:component

php artisan make:controller

php artisan make:component

php artisan make:event

php artisan make:exception

php artisan make:factory

php artisan make:job

php artisan make:listener

php artisan make:mail

php artisan make:middleware

php artisan make:model

php artisan make:notification

php artisan make:observer

php artisan make:policy

php artisan make:provider

php artisan make:request

php artisan make:resource

php artisan make:rule

php artisan make:scope

php artisan make:seeder

php artisan make:test

php artisan make:view

php artisan notifications:table

php artisan queue:batches-table

php artisan queue:failed-table

php artisan queue:table

php artisan route:list

php artisan serve

php artisan session:table
Enter fullscreen mode Exit fullscreen mode

Top comments (0)