macropay-solutions / maravel-framework-dev
Development library for maravel-framework
Installs: 216
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/macropay-solutions/maravel-framework-dev
Requires
- php: >=8.1.0
Suggests
- macropay-solutions/laravel-crud-wizard-free: *
- macropay-solutions/maravel: dev-production
- macropay-solutions/maravel-framework: ^10.55.0
- macropay-solutions/maravelith: dev-production
README
Development Library for Maravel-Framework ^10.55.0
Installation
1. Run composer command:
composer require macropay-solutions/maravel-framework-dev --dev
2. Register the service provider in Maravel/Lumen in bootstrap/app.php. 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.
Usage
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
License
This package is licensed under the license MIT.