File tree Expand file tree Collapse file tree 5 files changed +418
-92
lines changed Expand file tree Collapse file tree 5 files changed +418
-92
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Batteries included ready to use development environment for Laravel.
2727- Code Analysis
2828 - [ larastan] ( https://github.com/nunomaduro/larastan ) : Adds code analysis to Laravel improving developer productivity and code quality (PHPStan wrapper).
2929 - [ pint] ( https://github.com/laravel/pint ) : PHP code style fixer (PHP-CS Fixer wrapper).
30+ - [ pest] ( https://github.com/pestphp/pest ) : Pest is an elegant PHP Testing Framework with a focus on simplicity.
3031
3132## Artisan Commands
3233
@@ -104,8 +105,22 @@ See full config list and examples [here](https://mlocati.github.io/php-cs-fixer-
104105 <summary >Click to see pint commands</summary >
105106
106107``` bash
107- # analyze code
108+ # check and fix code style
108109
109110php ./vendor/bin/pint -v
110111```
111112</details >
113+
114+ ## Pest Commands
115+
116+ See more examples abouts pesting [ here] ( https://pestphp.com/docs/writing-tests ) .
117+
118+ <details >
119+ <summary >Click to see pest commands</summary >
120+
121+ ``` bash
122+ # run tests
123+
124+ php ./vendor/bin/pest
125+ ```
126+ </details >
Original file line number Diff line number Diff line change 2727 "mockery/mockery" : " ^1.4.4" ,
2828 "nunomaduro/collision" : " ^6.1" ,
2929 "nunomaduro/larastan" : " ^2.1" ,
30+ "pestphp/pest" : " ^1.21" ,
31+ "pestphp/pest-plugin-laravel" : " ^1.2" ,
3032 "phpunit/phpunit" : " ^9.5.10"
3133 },
3234 "autoload" : {
6466 "config" : {
6567 "optimize-autoloader" : true ,
6668 "preferred-install" : " dist" ,
67- "sort-packages" : true
69+ "sort-packages" : true ,
70+ "allow-plugins" : {
71+ "pestphp/pest-plugin" : true
72+ }
6873 },
6974 "minimum-stability" : " dev" ,
7075 "prefer-stable" : true
You can’t perform that action at this time.
0 commit comments