Author: Manuel Lemos
Package: Yii2 Active Record Explicit
There are ActiveRecord implementations in many programming languages that use different frameworks.
The package extends the ActiveRecord implementation of the PHP Yii2 framework to implement more explicit behaviors useful for many applications, such as specifying read-only attributes, timestamp attributes, and type casting.
About the Yii2 Active Record Explicit Package
The package Yii2 Active Record Explicit is one of the few PHP packages that was considered notable recently because it does something worth paying attention to.
The basic purpose is: Provide explicit behaviors to Yii2 ActiveRecord
Here follows in more detail what it does:
The package can provide explicit behaviors to Yii2 ActiveRecord.
It provides class extensions to the Yii2 framework ActiveRecord base classes to provide new behaviors using additional behavior implementation classes.
Currently, it implements behavior classes to:
- Make certain model attributes read-only so they cannot be changed
- Make an attribute be handled like a timestamp
- Add support for type-casting attributes
Conclusion
The Yii2 Active Record Explicit can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way worth noticing.
Notable PHP packages can often be considered innovative. If this package is innovative, it can be nominated for the PHP Innovation Award, and the author may win prizes and recognition for sharing innovative packages.
If you also developed your notable or innovative package,s consider sharing them to earn more visibility for your package and nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,616,107 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
No comments were submitted yet.