yii-tools / model
Awesome Model for PHP.
Installs: 17 853
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- ext-mbstring: *
Requires (Dev)
- infection/infection: ^0.27
- maglnet/composer-require-checker: ^4.3
- phpunit/phpunit: ^10.1
- roave/infection-static-analysis-plugin: ^1.31
- vimeo/psalm: ^5.8
This package is auto-updated.
Last update: 2023-07-02 12:03:05 UTC
README
Awesome Model for PHP.
Requirements
The minimun version of PHP required by this package is PHP 8.1.
For install this package, you need composer and mbstring
extension for PHP.
Install
composer require yii-tools/model
Composer require checker
This package uses composer-require-checker to check if all dependencies are correctly defined in composer.json
.
To run the checker, execute the following command:
./vendor/bin/composer-require-checker
Mutation testing
Mutation testing is checked with Infection. To run it:
./vendor/bin/roave-infection-static-analysis-plugin
Unit testing
Unit testing is checked with PHPUnit. To run it:
./vendor/bin/phpunit
Static analysis
Static analysis is checked with Psalm. To run it:
./vendor/bin/psalm
CI status
License
The MIT License (MIT). Please see License File for more information.