Skip to content

Commit d59fd99

Browse files
committed
docs: update about ddd and phpstan implementation
1 parent 03f0b88 commit d59fd99

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Due to I have another project with Jetstream [Laravel Livewire Publications](htt
2222
- Refactored some code with best practices
2323
- Implemented some design patters: QueryBuilder, Data Transfer Object and Actions
2424
- Implemented a simple API for managing notes
25+
- Ordered the project according to some theory about **Domain Driven Design**
2526

2627
---
2728

@@ -124,6 +125,14 @@ There are rules in `pint.json` about PHP-CS-Fixer to fix code style. You can run
124125
sail vendor/bin/pint
125126
```
126127

128+
### Static Analysis
129+
130+
In order to find errors in the code without running it. It is better before running the tests.
131+
132+
```
133+
sail composer phpstan
134+
```
135+
127136
### Backend testing
128137

129138
There are some unit testing in Models and some feature testings in controllers, all these test guarantee functionalities from Jetstream, authorization and actions as create, read, update and delete notes.
@@ -158,6 +167,7 @@ APP_DEBUG=false
158167
- [Laravel 8](https://laravel.com/docs/8.x/releases/) - PHP framework.
159168
- [Laravel Jetstream](https://jetstream.laravel.com/2.x/introduction.html) - Started kit.
160169
- [Laravel Pint](https://laravel.com/docs/10.x/pint) - PHP code style fixer for minimalists.
170+
- [Larastan](https://github.com/nunomaduro/larastan) - PHP tool to find errors in your code.
161171
- [Vue 2](https://vuejs.org/) - JavaScript framework.
162172
- [Tailwindcss](https://tailwindcss.com/) - CSS framework.
163173

0 commit comments

Comments
 (0)