PHP Classes

Laravel Repository Package: Access repository objects that match the criteria

Recommend this page to a friend!
  Info   View files View files (20)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-04-24 (19 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 25 This week: 12All time: 10,538 This week: 15Up
Version License PHP version Categories
laravel-repositories 1.0.0GNU General Publi...5PHP 5, Libraries, Design Patterns
Description Author

This package can access repository objects that match the criteria.

It implements the repository design pattern to perform several operations on collections of model objects.

The package can retrieve a query builder object so it can call the model to perform operations like:

- Find an object by identifier value or by attribute and value to return given object properties

- Retrieve all objects and return given object properties

- Perform searches for objects that match complex conditions and return given object properties

- Create an object with given object property values

- Update an object with new given object property values

- Delete an object with a given identifier value

- Create complex criteria to search for objects

- Retrieve a range of objects that match a query condition

- Etc.

Innovation Award
PHP Programming Innovation award nominee
April 2022
Nominee
Vote
The repository is a software design pattern to model the access to objects stored in a data container.

It allows developers to use an abstraction of how to store the object in the data container.

An application may start using a SQL database to store data objects.

Suppose the application grows, and it is necessary to use a data storage container that is more scalable than using a SQL database. In that case, repository abstraction allows changing the means to access the container without changing the application code.

This package implements the repository design pattern in PHP that developers can easily integrate into Laravel applications.

Manuel Lemos
Picture of Ahmed Saad
  Performance   Level  
Name: Ahmed Saad <contact>
Classes: 8 packages by
Country: Egypt Egypt
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Files folder imageresources (1 directory)
Files folder imagesrc (2 files, 2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data

  Files folder image Files  /  resources  
File Role Description
Files folder imagestubs (4 files, 1 directory)

  Files folder image Files  /  resources  /  stubs  
File Role Description
Files folder imageContracts (1 file)
  Plain text file Creteria.stub Class Class source
  Plain text file Mutator.stub Class Class source
  Plain text file Repository.stub Class Class source
  Accessible without login Plain text file ServiceProvider.stub Data Auxiliary data

  Files folder image Files  /  resources  /  stubs  /  Contracts  
File Role Description
  Plain text file RepositoryContract.stub Class Class source

  Files folder image Files  /  src  
File Role Description
Files folder imageCommands (3 files)
Files folder imageContracts (9 files)
  Plain text file BaseRepository.php Class Class source
  Plain text file RepositoriesServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Commands  
File Role Description
  Plain text file MakeCreteria.php Class Class source
  Plain text file MakeMutator.php Class Class source
  Plain text file MakeRepository.php Class Class source

  Files folder image Files  /  src  /  Contracts  
File Role Description
  Plain text file CreteriaContract.php Class Class source
  Plain text file HasCachableContract.php Class Class source
  Plain text file HasCreteriaContract.php Class Class source
  Plain text file HasModelMutatorContract.php Class Class source
  Plain text file HasPaginationContract.php Class Class source
  Plain text file HasRequestParserContract.php Class Class source
  Plain text file HasTransformerContract.php Class Class source
  Plain text file MutatorContract.php Class Class source
  Plain text file RepositoryContract.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:25
This week:12
All time:10,538
This week:15Up
For more information send a message to info at phpclasses dot org.