Torch VS bypass-finals

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

Torch

Examples of using each Illuminate component in non-Laravel applications (by mattstauffer)

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)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Torch bypass-finals
7 3
1,811 442
- -
0.0 5.4
3 months ago 19 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.

Torch

Posts with mentions or reviews of Torch. 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
    13 projects | /r/PHP | 28 Apr 2023
    Torch is the proof that it's tightly coupled. Why do you even need a repo to show how to do it? Symfony doesn't have this issue. Just look at how much crap you need to wire to use a simple validation component: https://github.com/mattstauffer/Torch/blob/master/components/validation/index.php, it's garbage.
  • someone know a great php framework?
    1 project | /r/PHP | 11 Nov 2022
    Other than the big frameworks, you could look at using Slim and other libraries/Symfony components to build your own framework - you could even use some Laravel components too.
  • Am I crazy? Do really all "PHP" companies use either Symfony or Laravel?
    3 projects | /r/PHP | 21 Dec 2021
    You can check out https://github.com/mattstauffer/Torch to see them in action
  • PHP MVC Framework
    3 projects | /r/laravel | 24 Mar 2021
    This is was game changer for me: https://github.com/mattstauffer/Torch
  • IMHO: JSX > PHP Templating
    6 projects | /r/PHP | 20 Mar 2021
    Interesting! I actually found an example here: https://github.com/mattstauffer/Torch/tree/master/components/view

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.

What are some alternatives?

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

pre-phpx

Codeception - Full-stack testing PHP framework

Eloquent - [READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)

composer-patches - Simple patches plugin for Composer

Laravel - The Laravel Framework.

parthenon - The Symfony SaaS boilerplate

BladeOne - The standalone version Blade Template Engine without Laravel in a single php file and without dependencies

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

Slim - Slim Framework 4 Skeleton Application

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