We have collection of more than 1 Million open source products ranging from Enterprise product to
small libraries in all platforms. We aggregate information from all open source repositories.
Search and find the best for your needs. Check out projects section.
yii2-redis - [READ ONLY] Yii 2 Redis extension. This is a subtree split off the "yii2" repo.
- `via`-relations can not be defined via a table as there are not tables in redis. You can only define relations via other records.It is also possible to define relations from redis ActiveRecords to normal ActiveRecord classes and vice versa.Usage example:```php$customer = new Customer();$customer->attributes = ['name' => 'test'];$customer->save();echo $customer->id; // id will automatically be incremented if not set explicitly$customer = Customer::find()->where(['name' => 'test'])->one(); // find by query$customer = Customer::find()->active()->all(); // find all by query (using the `active` scope)```