atellitech / utils-hyperf
The utilities for Hyperf framework.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/atellitech/utils-hyperf
Requires
- php: >=8.3
- hyperf/command: ^3.1
- hyperf/database: ^3.1
- hyperf/db-connection: ^3.1
- zircote/swagger-php: ^5.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
Suggests
- swow/swow: Required to create swow components.
README
composer create-project hyperf/component-creator
utils-hyperf
The utilities for Hyperf
Getting Start
Requirements
- php8.3+
Install
$ /lib/path/composer require atellitech/utils-hyperf
Model Generator
This generator is used to create model class by particular table name.
Getting Start
Setup database connection
Usage
$ php bin/hyperf.php at:gen:model {table} --namespace={custom namespace} --path={generated file path} --connection={db profile name}
Options
- table Table name
- connection Database component id
- path Store path of model class file
- namespace Namespace of model class