A selection of Yii2 framework extensions and tools configured and ready for building web applications
Pre-configured administration pages - users/roles/permissions/settings/posts/files
ORM (Object Relational Mapping) tools for working with relational databases and search indexes
RESTful API tools for exposing resources to end users with authentication and authorization
Pre-configured Angular v4 boilerplate application
Configurations are widely used in Yii2 for creating new objects or initializing existing objects.
The dependency injection (DI) container knows how to instantiate and configure objects and all their dependent objects.
// create an object using configuration array $object = Yii::createObject([ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=127.0.0.1;dbname=demo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ]);
Yii2s DAO (Database Access Objects) and ORM (Object Relational Mapping) provide object-oriented APIs for accessing relational databases and search indexes.
Yii2 provides RESTful API tools for exposing resources to end users with authentication (JWT) and authorization (roles/permissions) access control