Laravel considered harmful

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. ideas

    Discontinued Issues board used for Laravel internals discussions. (by laravel)

    Singleton usage: The container has a singleton and unfortunately this singleton is used everywhere across the codebase. The Container interface is almost useless because event if we implements this contract, Laravel's container concret implementation will be used by the framework. (Related issue: https://github.com/laravel/ideas/issues/1467) (Occurrences of "Container::getInstance()": https://github.com/laravel/framework/search?q=Container%3A%3AgetInstance%28%29).

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Torch

    Examples of using each Illuminate component in non-Laravel applications

    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.

  4. Laravel

    The Laravel Framework.

    Yeah, you were right. And it was last updated in December of 2022, long after typehints became available. Other files are very similar, even most simple of them.

  5. laravel-strict-coding-standard

    PHP_CodeSniffer rules for Laravel to force the "right" design of the app

    You can even do it automatically; LaravelStrictCodingStandard.Laravel.DisallowUseOfFacades in PHP_CodeSniffer. https://github.com/vladyslavstartsev/laravel-strict-coding-standard

  6. 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.

    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

  7. Slim

    Slim Framework 4 Skeleton Application

  8. Sylius

    Open Source eCommerce Framework on Symfony

    I think it would be difficult (or much harder) to build something like Sylius on top of Laravel. Especially if you want good code-coverage by tests.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. composer-patches

    Simple patches plugin for Composer

    I've had problems with libraries using final having an API that isn't customizable enough in a particular way I need because I'm innovating in some way they could never have considered in the past, so my choice ends up either needing to fork the library or monkey patch it with https://github.com/cweagans/composer-patches so I can get rid of final so I can keep using it. They wouldn't accept a change in API or behaviour because it would break things for other users, etc.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How do you avoid calling the date format, number format, etc. all the time

    2 projects | /r/laravel | 1 Aug 2021
  • Embracing the Future of Web Development with Laravel, PestPHP, Livewire and Vue.js

    3 projects | dev.to | 13 Jun 2024
  • The PHP Orkestra Framework

    7 projects | dev.to | 5 May 2024
  • Wordpress tests with Pest and WP Setup

    1 project | dev.to | 18 Apr 2024
  • Simplifying API Integration with Laravel's Http Facade

    1 project | dev.to | 10 Nov 2023

Did you know that PHP is
the 14th most popular programming language
based on number of references?