cottacush / yii2-utils
Yii2 utils provides various utility classes and helpers that are compatible with the Yii2 framework
Requires
- php: >=8.0
- fakerphp/faker: ^1.13
- hashids/hashids: ^1.0
- justblackbird/handlebars.php-helpers: ^1.2
- linslin/yii2-curl: ^1.1.3
- lukasoppermann/http-status: ^2.0
- squizlabs/php_codesniffer: ^3.5
- yiisoft/yii2: ~2.0.49
- yiisoft/yii2-authclient: ~2.0.0
Requires (Dev)
- phpunit/phpunit: ~9.0
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2026-05-28 14:12:46 UTC
README
Yii2 utils provides various utility classes and helpers needed compatible with the Yii2 framework
This package is compliant with PSR-1, PSR-2 and PSR-4. If you notice compliance oversights, please send a patch via pull request.
Install
Via Composer
$ composer require cottacush/yii2-utils
Requirements
The following versions of PHP are supported by this version.
- PHP 8.0
Features
The following are available:
- HttpClient
- Oauth2Client
- HttpResponse
- Date Utils
- HttpResponse
- Text Utils
- BaseController
- BaseModel
- Actions
Todo
- Add Adapters
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email developers@cottacush.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.