bypass-finals VS composer-patches

Compare bypass-finals vs composer-patches and see what are their differences.

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)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
bypass-finals composer-patches
3 10
444 1,478
- -
5.4 7.6
5 days ago 14 days ago
PHP PHP
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" 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.

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
    2 projects | /r/PHP | 11 Jul 2023
    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
    13 projects | /r/PHP | 28 Apr 2023
    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
    2 projects | /r/PHP | 1 Dec 2022
    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.

composer-patches

Posts with mentions or reviews of composer-patches. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-28.

What are some alternatives?

When comparing bypass-finals and composer-patches you can also consider the following projects:

Codeception - Full-stack testing PHP framework

Repman - Repman - PHP Repository Manager: packagist proxy and host for private packages

Torch - Examples of using each Illuminate component in non-Laravel applications

Packagist - Package Repository Website - try https://packagist.com if you need your own -

parthenon - The Symfony SaaS boilerplate

comments - Native comments for your Laravel application.

laravel-strict-coding-standard - PHP_CodeSniffer rules for Laravel to force the "right" design of the app

ComposerRequireChecker - A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies

Laravel - The Laravel Framework.

WordPress Packagist - WordPress Packagist — manage your plugins with Composer

Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)

composer-diff - Compares composer.lock changes and generates Markdown report so you can use it in PR description.