directorytree/activeredis
ActiveRedis provides a simple, efficient, Eloquent-like active record API for interacting with Redis hashes in Laravel. Define models and create, update, delete, expire, and query records, with support for casts, events, timestamps, chunking, and searching.
substr instead of Str::after() for small optimization with removing prefixes - https://github.com/DirectoryTree/ActiveRedis/commit/93f98dcaa4d20ad42f141c56faf78ae05877b6daphpredis compatibility in RedisRepository - 96ef9fe0ccfe7ad91f8ca952f31e30d673ceb66aRedisRepository with additional type safety - 7f7a6f74b484a3c8b533038741d794f82351f2b0, 447c242e77074b2bb1bb9f118b9afa49ba0c721bRedisRepository - https://github.com/DirectoryTree/ActiveRedis/pull/14CarbonInterface from asDateTime by @J0sh0nat0r - https://github.com/DirectoryTree/ActiveRedis/pull/9getModel and getRepository to ActiveRedis\Query - ec0dc13ArrayRepository is now a singleton for keeping state between models - ec0dc13findfindOrfindOrFailfirstfirstOrFailfirstOrCreateupdateOrCreateexistsfind and first methods to 1000 to increase performance on large datasets - ec0dc13Model::get($count = 1000) - https://github.com/DirectoryTree/ActiveRedis/commit/72275b0a5ddb4bc441225b5c313243f7bd3224bc1000 by default instead of 100 - https://github.com/DirectoryTree/ActiveRedis/commit/72275b0a5ddb4bc441225b5c313243f7bd3224bcarray repository on models for testing without a Redis server - https://github.com/DirectoryTree/ActiveRedis/pull/7Model::create([...], true) and $model->save(true)Model::__toString() - f1a3eaaJsonable interface to Model ($model->toJson()) - 6af0a53where clauses - 86d9421null when accessing a primitive cast on a model that has a null value - b0523f7Model::$hidden/Model::$visible attributes feature from Eloquent - cf88d30$model->toArray()) - cf88d30$model->setExpiry() with DateTime instance - 73f9e2fnull to be used in find and whereKey methodsArrayable and ArrayAccess interfaces on ModelFirst release! 🎉
How can I help you explore Laravel packages today?