Download the PHP package tobento/service-repository without Composer
On this page you can find all versions of the php package tobento/service-repository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tobento/service-repository
More information about tobento/service-repository
Files in tobento/service-repository
Download tobento/service-repository
More information about tobento/service-repository
Files in tobento/service-repository
Vendor tobento
Package service-repository
Short Description Repository interfaces for PHP applications.
License MIT
Homepage https://www.tobento.ch
Package service-repository
Short Description Repository interfaces for PHP applications.
License MIT
Homepage https://www.tobento.ch
Please rate this library. Is it a good library?
Informations about the package service-repository
Repository Service
Repository interfaces for PHP applications.
Table of Contents
- Getting started
- Requirements
- Highlights
- Documentation
- Interfaces
- Repository Interface
- Read Repository Interface
- Write Repository Interface
- Entity Factory Interface
- Read Only Repository Adapter
- Events Repository Adapter
- Eventer
- Interfaces
- Credits
Getting started
Add the latest version of the repository service project running this command.
Requirements
- PHP 8.0 or greater
Highlights
- Framework-agnostic, will work with any project
- Decoupled design
Documentation
Interfaces
Repository Interface
Read Repository Interface
Write Repository Interface
Entity Factory Interface
Read Only Repository Adapter
Any repository implementing the can be made read-only by decorating them using the :
Events Repository Adapter
Any repository implementing the or can be made to dispatch default events by decorating them using the :
Default Events
Event | Description |
---|---|
The event will dispatch after an entity is retrieved from the read methods only. | |
The event will dispatch before an entity is created. | |
The event will dispatch after an entity is created. | |
The event will dispatch before an entity is updated. | |
The event will dispatch after an entity is updated. | |
The event will dispatch before an entity is deleted. | |
The event will dispatch after an entity is deleted. |
Eventer
The eventer may be used to easily create a if you want only to have certain events dispatched.
Create Eventer
Using Eventer
Credits
- Tobias Strub
- All Contributors
All versions of service-repository with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
tobento/service-collection Version ^1.0.5
tobento/service-iterable Version ^1.0
tobento/service-collection Version ^1.0.5
tobento/service-iterable Version ^1.0
The package tobento/service-repository contains the following files
Loading the files please wait ....