futuretek / yii2-yii-shared
Shared components for YII used in FTS
Installs: 10 730
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.4.0
- futuretek/yii2-shared: ^3.0.0
- giggsey/libphonenumber-for-php: ^8.12.35
- yiisoft/yii2: ^2.0.0
README
This extension provides shared components for Yii2 we use in our company.
Classes
- Controller - Controller parent class
- DbModel - ActiveRecord parent class
- Def - Common constants and definitions
- DT - Helper class for date time operations
- Formatter - Extended Yii formatter
- FtsException - Exception with automatic logging
- IpFilter - IP filter behavior
- ModelSaveException - Exception intended for handling model save
- SSE - Server-sent-events implementation
- TestAssetManager - Asset manager replacement used in functional tests to prevent asset publishing
- Tools - Common tools that requires Yii to work
Changelog
1.3.0
- Added TestAssetManager
- Added SSE
- Added Controller
1.2.0
- Added Formatter
1.1.0
- Added DT::displayDate()
- Added DT::displayDateTime()
- Added DT::displayTime()
1.0.0
- Added DT::toTimezone()