Bref

302 posts

Bref banner
Bref

Bref

@brefphp

The serverless PHP framework ➯ https://t.co/X0LdkTZmw0

شامل ہوئے Aralık 2020
2 فالونگ1.3K فالوورز
پن کیا گیا ٹویٹ
Bref
Bref@brefphp·
Bref is 4 years old today! ▸ 118 contributors ▸ 118 releases ▸ 300 community members in Slack ▸ 3k downloads/day ▸ 1 billion requests processed each week PHP + AWS Lambda = ❤️
English
3
22
181
0
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
I have a Laravel app running serverless with @brefphp and generating PDF via chrome on Lambda. I added X-Ray to visualize it: 1 - the HTTP route (Laravel controller) invokes the pdf function synchronously and passes it a URL to render 2 - the "pdf-renderer" function starts chromium, opens the URL, exports it to PDF, and uploads it to S3 3 - the HTTP route returns a temporary signed URL to the S3 file This specific scenario is synchronous (~1s) because the PDF is live generated. When possible the PDF is generated asynchronously in a Laravel job. With that approach I write PDF templates with blade, it renders exactly the same locally or in Lambda (easy to test), never have to worry about scaling, and pay per PDF generated (about 0.004 cents/PDF)
Matthieu Napoli tweet media
English
2
1
23
2.7K
Bref ری ٹویٹ کیا
Edd Mann
Edd Mann@edd_mann·
TIL about @brefphp's CloudWatch log formatter, 👋 Monolog's built in JSON formatter.
English
0
1
1
130
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
New UI in Bref Cloud to go through Laravel failed jobs: list, retry, clear…
Matthieu Napoli tweet mediaMatthieu Napoli tweet media
English
1
2
3
822
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
New Bref documentation page: Cold Starts bref.sh/docs/environme… (should have done it years ago but better late than never)
Matthieu Napoli tweet media
English
1
1
8
992
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
Bref 3 is released 🎉 Since its creation, Bref has served 1.2 trillion requests and jobs! ▸ simpler & lighter runtimes ▸ PHP 8.5 ▸ improved observability (logs & tracing) ▸ simpler Laravel onboarding ▸ postgres & redis built-in and more ⤵ bref.sh/news/03-bref-3…
English
6
28
170
10K
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
Working on Bref v3 release for tomorrow 🤞
English
0
1
16
895
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
Improved Bref docs on a quick win: cleanup the AWS SDK before deployment #reducing-package-size" target="_blank" rel="nofollow noopener">bref.sh/docs/deploy#re… (btw could also be useful if you deploy your app on a server)
Matthieu Napoli tweet media
English
0
1
7
1.2K
Bref
Bref@brefphp·
thank you @depotdev for all the build time saved 🙏
Bref tweet media
English
1
1
6
319
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
I created the Serverless Visually Explained course 6 years ago. It's now free! If you want concrete JS and PHP examples, with live animations, and no-bullshit explanations on what serverless is, you can click and read. serverless-visually-explained.com
English
1
4
11
853
Bref ری ٹویٹ کیا
Nuno Guerra
Nuno Guerra@nunowar·
Improving the UX/UI for @brefphp. The new Network page is shaping up good 🎨✨
Nuno Guerra tweet media
English
2
4
12
719
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
Application diagrams are live in Bref Cloud ✨ They'll help understand how serverless applications run in AWS: - CloudFront CDN - S3 for assets - PHP runs on Lambda - SQS queues… Metrics are live: requests, latency, scaling, errors… beautiful design by @nunowar!
Matthieu Napoli tweet mediaMatthieu Napoli tweet mediaMatthieu Napoli tweet mediaMatthieu Napoli tweet media
English
2
2
3
722
Bref ری ٹویٹ کیا
Nuno Guerra
Nuno Guerra@nunowar·
Loved designing and implementing these Vue.js diagrams for @brefphp. Building them was the perfect way to dive deeper into the serverless world.
Nuno Guerra tweet media
English
6
7
83
7.7K
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
I often get asked about the differences between serverless and containers/servers I updated @brefphp docs to be much more upfront about what to expect to migrate to serverless. Am I missing something? What's unclear?
Matthieu Napoli tweet mediaMatthieu Napoli tweet mediaMatthieu Napoli tweet media
English
2
1
3
558
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
That moment when you learn that one of the most well known and respected company on the internet uses Bref… but that they don't allow sharing the name 🥹
English
1
1
17
2.1K
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
New: run Laravel Tinker in AWS Lambda 🎉
English
3
5
18
2.1K
Bref ری ٹویٹ کیا
Matthieu Napoli
Matthieu Napoli@matthieunapoli·
New post: Optimizing Laravel cold starts on AWS Lambda I looked into pre-compiling opcache before deploying mnapoli.fr/optimizing-lar…
English
4
6
22
3.9K