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
PHP_CodeSniffer rules for Laravel to force the "right" design of the app (by vladyslavstartsev)
bypass-finals | laravel-strict-coding-standard | |
---|---|---|
3 | 1 | |
444 | 45 | |
- | - | |
5.4 | 1.9 | |
5 days ago | about 1 year ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | MIT License |
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.
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.
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
What are some alternatives?
When comparing bypass-finals and laravel-strict-coding-standard you can also consider the following projects:
Codeception - Full-stack testing PHP framework
Slim - Slim Framework 4 Skeleton Application
Torch - Examples of using each Illuminate component in non-Laravel applications
composer-patches - Simple patches plugin for Composer
parthenon - The Symfony SaaS boilerplate
ideas - Issues board used for Laravel internals discussions.
Laravel - The Laravel Framework.
Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)
Sylius - Open Source eCommerce Framework on Symfony
bypass-finals vs Codeception
laravel-strict-coding-standard vs Slim
bypass-finals vs Torch
laravel-strict-coding-standard vs Torch
bypass-finals vs composer-patches
laravel-strict-coding-standard vs composer-patches
bypass-finals vs parthenon
laravel-strict-coding-standard vs ideas
bypass-finals vs Laravel
laravel-strict-coding-standard vs Laravel
bypass-finals vs Serializer
laravel-strict-coding-standard vs Sylius