@@ -34,33 +34,42 @@ If you **like/use** this package, please consider ⭐️ **starring** it. Thanks
34
34
35
35
This template repository includes several features to streamline the development of Laravel packages:
36
36
37
- ** Testing: **
37
+ ### → Testing
38
38
39
39
- Configured [ PHPUnit] ( https://phpunit.de/index.html ) for unit testing.
40
40
- Integrated [ Pest PHP] ( https://pestphp.com ) for elegant testing.
41
41
- [ Orchestra Testbench] ( https://packages.tools/testbench.html ) for Laravel package testing.
42
42
- [ PHPStan] ( https://phpstan.org ) extensions for PHPUnit and Laravel.
43
43
- Infection for mutation testing to ensure quality.
44
44
45
- ** Static Analysis:**
45
+ ### → Static Analysis
46
+
46
47
- [ PHPStan] ( https://phpstan.org ) for static analysis, ensuring code quality and robustness.
47
48
- [ Larastan] ( https://github.com/larastan/larastan ) for Laravel-specific static analysis.
48
49
- [ PHPStan strict rules] ( https://github.com/phpstan/phpstan-strict-rules ) for enforcing strict type checks and standards.
49
50
50
- ** Coding Standards:**
51
+ ### → Coding Standards:
52
+
51
53
- [ PHP CS Fixer] ( https://github.com/wayofdev/php-cs-fixer-config ) with custom configuration for consistent code style.
52
54
- [ Composer Normalize] ( https://github.com/ergebnis/composer-normalize ) to ensure a consistent ` composer.json ` format.
53
55
54
- ** Continuous Integration: **
56
+ ### → Continuous Integration
55
57
56
- - GitHub Actions workflows for automated testing, linting, and static analysis.
57
- - Security checks with Roave Security Advisories to prevent the use of packages with known vulnerabilities.
58
+ - Automated testing with code coverage report generation using PHPUnit and Xdebug, uploaded to [ Codecov] ( https://about.codecov.io ) .
59
+ - Automated linting of YAML files and PHP code to ensure consistency and adherence to best practices.
60
+ - Checks for outdated or insecure dependencies using Composer.
61
+ - Mutation testing with [ Infection] ( https://github.com/infection/infection ) to assess the quality of the test suite.
62
+ - Security checks to identify vulnerabilities in dependencies.
63
+ - Comprehensive static analysis with [ PHPStan] ( https://phpstan.org ) to detect potential issues early.
64
+ - Extensive testing across different setups to ensure compatibility and stability.
65
+
66
+ ### → Development Environment
58
67
59
- ** Development Environment:**
60
68
- Docker support for consistent development environments.
61
69
- [ Pre-commit] ( https://pre-commit.com ) hooks setup to ensure code quality before commits.
62
70
63
- ** Miscellaneous:**
71
+ ### → Miscellaneous
72
+
64
73
- Support for PHP 8.2 and Laravel 10.x/11.x.
65
74
- Configured autoload and autoload-dev for optimal namespace management.
66
75
0 commit comments