laravel-strict-coding-standard
PHP_CodeSniffer rules for Laravel to force the "right" design of the app (by vladyslavstartsev)
bypass-finals
Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery. (by dg)
laravel-strict-coding-standard | bypass-finals | |
---|---|---|
1 | 3 | |
45 | 449 | |
- | - | |
1.9 | 5.4 | |
about 1 year ago | 14 days ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-strict-coding-standard
Posts with mentions or reviews of laravel-strict-coding-standard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-28.
-
Laravel considered harmful
You can even do it automatically; LaravelStrictCodingStandard.Laravel.DisallowUseOfFacades in PHP_CodeSniffer. https://github.com/vladyslavstartsev/laravel-strict-coding-standard
bypass-finals
Posts with mentions or reviews of bypass-finals.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-11.
-
BillaBear - Design Decisions ‐ Not Using Final Classes
I had this issue when working with Dibi as I needed to mock final methods. You can use this https://github.com/dg/bypass-finals package and forget all the debate about finals against non-final.
-
Laravel considered harmful
It definitely is my job. If you feel you should ignore best practices and author's opinion, use something like this: https://github.com/dg/bypass-finals
-
Design Decisions: Why use final classes
Even with the keyword final it's still possible to extend by using the final disable library https://github.com/dg/bypass-finals but the fact you needed to disable it makes it very clear that it's unsupported behaviour.
What are some alternatives?
When comparing laravel-strict-coding-standard and bypass-finals you can also consider the following projects:
Slim - Slim Framework 4 Skeleton Application
Codeception - Full-stack testing PHP framework
Torch - Examples of using each Illuminate component in non-Laravel applications
composer-patches - Simple patches plugin for Composer
ideas - Issues board used for Laravel internals discussions.
parthenon - The Symfony SaaS boilerplate