macropay-solutions/php-kernel-dev
Composer 安装命令:
composer require macropay-solutions/php-kernel-dev
包简介
Development library for php-kernel
关键字:
README 文档
README
Development Library for PHP-kernel
Installation
1. Run composer command:
composer require macropay-solutions/php-kernel-dev --dev
These are already registered in the Framework:
```php
use MacropaySolutions\KernelDev\Cache\Console\CacheTableCommand;
use MacropaySolutions\KernelDev\Database\Console\DumpCommand;
use MacropaySolutions\KernelDev\Database\Console\Migrations\MigrateMakeCommand;
use MacropaySolutions\KernelDev\Database\Console\Seeds\SeederMakeCommand;
use MacropaySolutions\KernelDev\Database\Console\WipeCommand;
use MacropaySolutions\KernelDev\Queue\Console\BatchesTableCommand;
use MacropaySolutions\KernelDev\Queue\Console\FailedTableCommand;
use MacropaySolutions\KernelDev\Queue\Console\TableCommand;
use MacropaySolutions\KernelDev\Database\Console\Migrations\MigrateMakeCommand;
use MacropaySolutions\KernelDev\Database\Migrations\MigrationCreator;
Usage
php run about {--only= : The section to display}
{--json : Output the information as JSON}
php run config:show {config : The configuration file to show}
php run 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 run db:table
{table? : The name of the table}
{--database= : The database connection}
{--json : Output the table information as JSON}
php run docs {page? : The documentation page to open} {section? : The section of the page to open}
php run env:encrypt
{--key= : The encryption key}
{--cipher= : The encryption cipher}
{--env= : The environment to be encrypted}
{--force : Overwrite the existing encrypted environment file}
php run event:list {--event= : Filter the events by name}
php run key:generate
{--show : Display the key instead of modifying files}
{--force : Force the operation to run when in production}
php run lang:publish
{--existing : Publish and overwrite only the files that have already been published}
{--force : Overwrite any existing files}
php run 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 run model:show {model : The model to show}
{--database= : The database connection to use}
{--json : Output the model as JSON}
php run schedule:list
{--timezone= : The timezone that times should be displayed in}
{--next : Sort the listed tasks by their next due date}
php run schedule:test {--name= : The name of the scheduled command to run}
php run 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}
```bash ```bash php run cache:table
php run channel:list
php run db:wipe
php run make:cast
php run make:channel
php run make:command
php run make:controller
php run make:event
php run make:exception
php run make:factory
php run make:job
php run make:listener
php run make:mail
php run make:middleware
php run make:model
php run make:notification
php run make:observer
php run make:policy
php run make:provider
php run make:request
php run make:resource
php run make:rule
php run make:scope
php run make:seeder
php run make:test
php run make:view
php run notifications:table
php run queue:batches-table
php run queue:failed-table
php run queue:table
php run serve
php run session:table
License
This package is licensed under the license MIT.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-23