Repository navigation
v1.0.0-RC4
Pre-release
Pre-release
Fourth release candidate of Solo Repository (solophp/repository). Repository can now be extended into a typed repository per table, the shape the first application with 140 tables settled on.
This is a prerelease: the 1.0 API is being validated in real applications before the stable 1.0.0 tag.
Migrating from Base Repository v3: read the migration guide.
Changes since 1.0.0-RC3
Repositoryis no longer final. An application can extend it with areadonlyclass that fixes the mapping in its own constructor, so a container injects each table's repository by type and static analysis reads the model from@extends Repository<Model>. See Typed repositories.- Every public method except the constructor is final: a subclass adds methods of its own and cannot change the inherited reads and writes.
- Code that constructs
Repositorydirectly keeps working unchanged.
Install
composer require 'solophp/repository:^1.0@RC'See the changelog for the full list of features and requirements, and the full diff since RC3.