An open API service indexing awesome lists of open source software.

https://github.com/wrk-flow/larastrict

Opinionated extension of a Laravel framework to help you build type safe, testable and reusable code.
https://github.com/wrk-flow/larastrict

laravel php php81 strict-types

Last synced: 10 months ago
JSON representation

Opinionated extension of a Laravel framework to help you build type safe, testable and reusable code.

Awesome Lists containing this project

README

          

![](.github/banner.png)

> Opinionated extension of a Laravel framework to help you build type safe, testable and reusable code.

![img](https://img.shields.io/badge/PHPStan-8-blue)
![php](https://img.shields.io/badge/PHP-8.1-B0B3D6)
![laravel](https://img.shields.io/badge/Laravel-9-fb503b)
![coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/pionl/8eeaf1185a65b196e8bbb06c1b103154/raw/coverage.json)
[![CI](https://github.com/wrk-flow/larastrict/actions/workflows/release.yml/badge.svg)](https://github.com/wrk-flow/larastrict/actions/workflows/release.yml)

__Current version is under development. Project will be moved to larastrict organization__

```bash
composer require wrkflow/larastrict
```

Want more tools or want to help? Check [wrk-flow.com](https://wrk-flow.com) or [CONTRIBUTE](CONTRIBUTION.md) (I need help with the documentation, new features, tests).

## Main mission

- Takes the good stuff from Domain Driven Development
- Make the code more testable via Unit tests (for faster tests)
- Make database queries reusable and testable -> `Queries`
- Make caching more reusable and testable -> `CacheMeService`
- Move business logic to `Actions` or `Services`
- Setup Laravel for great docker experience.