Development Library for Maravel-Framework ^10.55.0
1. Run composer command:
composer require macropay-solutions/maravel-framework-dev --dev
2. Register the service provider in Maravel/Lumen in bootstrap/app.php (not needed for Maravel >= 10.52.19 because it will be autoregistered). For Maravelith this is not needed because the commands are already registered.
if (\env('APP_ENV') === 'local') {
$app->register(\MacropaySolutions\MaravelFrameworkDev\ServiceProvider::class);
}These are already registered in Maravel:
use MacropaySolutions\MaravelFrameworkDev\Cache\Console\CacheTableCommand;
use MacropaySolutions\MaravelFrameworkDev\Database\Console\DumpCommand;
use MacropaySolutions\MaravelFrameworkDev\Database\Console\Migrations\MigrateMakeCommand;
use MacropaySolutions\MaravelFrameworkDev\Database\Console\Seeds\SeederMakeCommand;
use MacropaySolutions\MaravelFrameworkDev\Database\Console\WipeCommand;
use MacropaySolutions\MaravelFrameworkDev\Queue\Console\BatchesTableCommand;
use MacropaySolutions\MaravelFrameworkDev\Queue\Console\FailedTableCommand;
use MacropaySolutions\MaravelFrameworkDev\Queue\Console\TableCommand;
use MacropaySolutions\MaravelFrameworkDev\Database\Console\Migrations\MigrateMakeCommand;
use MacropaySolutions\MaravelFrameworkDev\Database\Migrations\MigrationCreator;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.
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:tablephp artisan channel:listphp artisan db:wipephp artisan event:generatephp artisan make:castphp artisan make:channelphp artisan make:commandphp artisan make:componentphp artisan make:controllerphp artisan make:componentphp artisan make:eventphp artisan make:exceptionphp artisan make:factoryphp artisan make:jobphp artisan make:listenerphp artisan make:mailphp artisan make:middlewarephp artisan make:modelphp artisan make:notificationphp artisan make:observerphp artisan make:policyphp artisan make:providerphp artisan make:requestphp artisan make:resourcephp artisan make:rulephp artisan make:scopephp artisan make:seederphp artisan make:testphp artisan make:viewphp artisan notifications:tablephp artisan queue:batches-tablephp artisan queue:failed-tablephp artisan queue:tablephp artisan route:listphp artisan servephp artisan session:tableThis package is licensed under the license MIT.
