https://externals.io has a new design ✨
- active RFCs on the home page
- improved long threads: outline, collapsible replies, jump to next unread…
- emails reflowed for reading, code highlighting…
- emoji reactions!
https://externals.io has a new design ✨
- active RFCs on the home page
- improved long threads: outline, collapsible replies, jump to next unread…
- emails reflowed for reading, code highlighting…
- emoji reactions!
Response streaming is coming in Bref 4:
- responses streamed as PHP produces them
- no more 6 MB limit
- binary responses, no config
- FPM, Laravel Octane, Symfony
- server-sent events (e.g. LLM answers)
https://github.com/brefphp/bref/issues/1503#issuecomment-6866889843
Should I move https://externals.io to DSQL?
Quick estimates: it would replace the $19/mo (db.t4g.micro) with $2-$5/mo
It's an existing Laravel app, so would be a good test
I had the chance to work with the AWS Lambda team to test this for months. It's like this feature was made for Bref (the AWS blog post uses PHP as the main example)
I researched dozens of different approaches (Ubuntu, Debian, AL2023, FrankenPHP, Rust extension…), Bref v4 is going to be INCREDIBLE as this is just the tip of the iceberg!
New AWS Lambda feature: customer-managed runtimes 🔥
Bref v4 will switch to them:
- PHP security patches applied *automatically*, no redeploy
- faster cold starts
- more PHP extensions out of the box
- Ubuntu instead of Amazon Linux
More details: https://bref.sh/news/08-aws-lambda-customer-managed-runtimes
Bref now has an official Sentry integration 🔥🔥
- built with the Sentry team, part of the Sentry docs & platform
- for Laravel/Symfony/PHP apps
- better Lambda error reporting
- better tracing: cold starts, AWS calls…
https://github.com/getsentry/sentry-bref
New in the Bref docs: sending emails with Amazon SES.
I tried rewriting Bref's runtime in Rust for Bref v4. Not worth it:
- Bref's PHP code takes ~0.3ms per request
- Rust extension: no real gain on warm or cold invokes
PHP is just fast enough here so no Rust in Bref today :)
I asked Brent Roose how he works with AI during our 48-hour live stream at JetBrains.
He plans with Claude, implements with Codex, but still writes code by hand to stay in control.
We also talked about agents taking away some of the joy in our work:
https://youtu.be/vXhkR7Go3Og
Big unlock for me for support was letting Claude read some of the prod data.
I turned it into a Laravel package:
https://github.com/mnapoli/backoffice-mcp
- whitelist models and columns
- read-only
- multiple MCP servers possible, e.g. admin, support…
Bref Cloud now shows the metrics of your WebSocket APIs:
- messages and their cost
- new connections
- errors
- latency
WebSockets now work with Laravel on AWS Lambda with Bref:
- Laravel Broadcasting and Echo work as usual
- no Reverb server to run, completely serverless
- public or private channels, presence, whispers, Inertia live props…
And a fix worth updating for: with Octane or the Symfony runtime, uploaded files were never deleted from /tmp, until it was full.
Update to Bref 3.0.13, laravel-bridge 3.1.4 and symfony-bridge 3.0.3.
PHP fixed two critical RCE vulnerabilities on October 21. Bref shipped the patched versions 31 minutes after https://php.net.
Bref v4 is in active development and will make this even faster. Drastically faster, and for everyone 🤫
You can now take a snapshot of a database whenever you want, for example before a risky migration.
Live logs in the dashboard are now readable: levels in color, the context, exceptions reduced to their class and file.
One click to see all the logs of a request, or its X-Ray trace.
New guide: sending emails from Lambda with Amazon SES. No API key to store, the app sends with its IAM role.
Networks can now use a NAT instance instead of a NAT Gateway: around $7/month instead of $36/month, and no charge per GB.
It runs in a single availability zone so it suits side projects and small applications.
Bref Cloud can now create Aurora DSQL databases: serverless PostgreSQL from AWS, with no VPC, no password (IAM auth) and no request charges when idle.
Laravel apps connect with the new bref/laravel-dsql package.