Laravel
FrameworkBenchmarks
Laravel | FrameworkBenchmarks | |
---|---|---|
234 | 394 | |
33,352 | 7,759 | |
0.9% | 0.7% | |
10.0 | 9.8 | |
about 18 hours ago | 3 days ago | |
PHP | C++ | |
MIT License | GNU General Public License v3.0 or later |
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
-
Move from DDD Laravel make command to Codestarter (fase 2)
Looking at artisan and the Symfony maker bundle, I saw two different ways to build content. Artisan works with stub files which are text files with a Twig syntax for the variables. And the maker bundle works with php templates.
-
Preventing Destructive Commands from Running in Laravel
In PR #51376 to Laravel in May 2024, Jason McCreary and Joel Clermont added the Illuminate\Console\Prohibitable trait to the framework, which was then included in the Laravel 11.9 release.
-
Laravel Under The Hood - The Strategy Pattern
When you call the driver method on the facade, it's proxied to a manager, depending on which facade you're using. In the caching scenario, it's directed to the CacheManager. Let's inspect its code.
-
🚨High-Severity Laravel Vulnerability (CVE-2024-52301) - Awareness and Action Required
For more information on this vulnerability, check out the official Laravel security advisory: GHSA-gv7v-rgg6-548h
- Laravel Reverb in Production Environment
-
New `@bool` Blade directive in Laravel!
While this feature isn't released yet, it's expected to be available soon. Keep an eye on Laravel's official channels for the announcement. In the meantime, check out the merged PR on GitHub! https://github.com/laravel/framework/pull/53179
-
Laravel Pipelines & Composable Job Middleware
Starting in Laravel 11.26, you can now use the artisan make:job-middleware command to generate Job middleware.
- 'Framework': An Advanced Laravel Development Suite
-
How to Contribute to Laravel: A Step-by-Step Guide
Create a new issue in the parent repository, in our case the laravel/framework repository. Be as detailed as you can be for the update you are doing.
-
Tell HN: Laravel's default truncate method uses cascade for Postgres databases
Hope this saves a future team from unexpected behavior resulting in (potential) production data loss.
When using Postgres, Laravel's default method for truncate uses the cascade option, which will ignore foreign key constraints and potentially wipe large amounts of data with no confirmation or warning.
It was originally introduced in 2018: https://github.com/laravel/framework/pull/26389/files
Here are two threads on it if you are curious: https://github.com/laravel/framework/issues/29506
FrameworkBenchmarks
-
How much traffic can a pre-rendered Next.js site handle?
I have also found that Next.js is shockingly slow.
I recently added some benchmarks to the TechEmpower Web Framework Benchmarks suite, and Next.js ranked near dead last, even for simple JSON API endpoint (i.e. no React SSR involved): https://www.techempower.com/benchmarks/#section=data-r23&hw=...
I discussed it with a couple of Next.js maintainers (https://github.com/vercel/next.js/discussions/75930), and they indicated that it's only a problem for "standalone" deployments (i.e. not on Vercel). However, I'm not entirely convinced that is true. I wonder if there are major optimizations that could be made to, for example, the routing system.
-
Show HN: Robyn – "Batman Inspired" Python Web Framework Built with Rust
Is it really going to be faster? In the benchmark they cited in the README [0], they are in 10th place among Python frameworks. This is not a real-life benchmark, as it merely expects a hardcoded response. In fact, Robyn’s 10th place is thanks to a feature designed for benchmarks like this, i.e. marking responses as constant [1]. Three more frameworks beat Robyn if you disable this benchmark optimization.
[0] https://www.techempower.com/benchmarks/#hw=ph&test=plaintext...
[1] https://robyn.tech/documentation/en/api_reference/const_requ...
-
Ask HN: What less-popular systems programming language are you using?
It's a heavily gamed benchmark, but TechEmpower Fortunes is pretty good at revealing the max throughput of a language runtime for "specially tuned" code (instead of idiomatic code).
Java currently beats .NET by about 40%: https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...
I judge more idiomatic / typical code complexity by the length of stack traces in production web app crashes. Enterprise Java apps can produce monstrous traces that are tens of pages long.
To be fair, ASP.NET Core 9 is a bit worse on that front than ASP.NET Web Forms used to be because of the increased flexibility and async capability, but it's still nowhere near as bad as a typical Java app.
In terms of code length / abstraction nonsense overhead, have a look at the new Minimal APIs for how lightweight code can get in modern C# web apps: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/m...
-
2025 Best PHP Micro Frameworks: Slim, Flight, Fat-Free, Lumen, and More!
Lumen sneaks into our top four as Laravel’s little sibling, designed for microservices and APIs. It’s got a minimalist vibe, but here’s the tea: it’s basically Laravel Lite, carrying some of the same heft under the hood. While it’s fast for a Laravel offshoot, its performance lags behind true micro frameworks like Flight or Slim—check the TechEmpower benchmarks for proof.
-
Backblaze Drive Stats for 2024
TechEmpower still does them. https://github.com/TechEmpower/FrameworkBenchmarks/issues/95...
-
PHP 8.4 Released
That was a ballpark estimation, and while pure req/sec is usually irrelevant, it still comes in when the load starts to increase and you need to squeeze every last drop of perf.
PHP usually is doing poorly, even with its "cache", and when you realize that PHP devs actually are not PHP devs, but framework (like laravel/symfony) devs you need to account for the overhead of the framework too.
But you can have a look at the framework benchmarks game:
https://www.techempower.com/benchmarks/#section=data-r21&hw=...
-
.NET 9 Is Out
This run has .NET 9 in: https://www.techempower.com/benchmarks/#section=test&runid=e...
-
Jaws – a JavaScript to WASM ahead of time compiler
> that Rust/WASM is likely to become the go to stack for complex web apps
What kind of apps?
On the backend there are plenty of mature ecosystems already that have been around for decades. Even focusing only on performance there's not a huge difference with say .NET or Java when looking at web benchmarks like TechEmpower[1].
On the frontend nothing can really beat the DX of using Vite with JS (hot reload of JS components, styles, etc). I don't know if it's even possible to get hot reload with WASM.
I could be wrong but it sounds like doing a complex web project in Rust would be a pain with not a lot of benefits over more popular and mature solutions.
[1] https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...
-
Using Rust in Non-Rust Servers to Improve Performance
This seems a bit unfair to JavaScript. There’s a lot of optimizations made to the language and its runtimes that have made a more than viable choice for server side applications over the years. The JavaScript that started as a Webbrowser client side language is very different from the ECMAScript that we have today. Depending on its usage it can also be one of the fastest, only regularly eclipsed by rust[1]. So no, JavaScript really isn’t a bad option for server side applications at all.
[1] https://www.techempower.com/benchmarks/#hw=ph&test=composite...
- Techempower Web Framework Benchmarks Round 22 Results
What are some alternatives?
treblle-laravel - The official Treblle SDK for Laravel. Seamlessly integrate Treblle to manage communication with your dashboard, send errors, and secure sensitive data.
LiteNetLib - Lite reliable UDP library for Mono and .NET
fingerprintjs - The most advanced browser fingerprinting library.
web-frameworks - Which is the fastest web framework?
octane - Supercharge your Laravel application's performance.
django-ninja - đź’¨ Fast, Async-ready, Openapi, type hints based framework for building APIs