Skip to content

aziz-mina/repository_design_pattern

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Repository Pattern in Laravel

The Repository pattern. Repositories are classes or components that encapsulate the logic required to access data sources. They centralize common data access functionality, providing better maintainability and decoupling the infrastructure or technology used to access databases from the domain model layer.

Installation:

1. Clone the repo or download it.
2. Run command composer install
3. Rename or copy .env.example file to .env , change db credintials
4. Run command php artisan migrate --seed
5. Run command php artisan serve
6. Check end points for example http://127.0.0.1:8000/api/orders.

About

Some APIs using repository design pattern in Laravel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages