Build Your Own Template Engine in PHP - Rendering & Echo
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
Let's take a look at how you could build your own template engine in PHP.
Read more [ryangjchandler.co.uk]
Posts tagged with php
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
Let's take a look at how you could build your own template engine in PHP.
Read more [ryangjchandler.co.uk]
– stefanzweifel.dev - submitted by Stefan Zweifel – Edit
Do you create automated backups of your database? Are you sure they work? laravel-backup-restore is a new package than can help you verify the integrity of your backups.
Read more [stefanzweifel.dev]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"I’ve been reading freeks newsletter for a while now, and it’s easily one of my favorite developer newsletters. Freek shares practical, no-nonsense insights from running Spatie, maintaining hundreds of open-source packages, and shipping real products. Every time I get useful Laravel tips, smart tooling advice, always high quality and immediately applicable."
An important problem of a programmer's productivity is finding his way through the code. A good project structure and your IDE can get you a long way, but sometimes it’s not enough.
Read more [myray.app]
– fly.io - submitted by Chris Fidao – Edit
Utilize the best parts of any language to perform work for your Laravel app! Any language can and push and pull jobs to/from Laravel queues. Here's how.
Read more [fly.io]
– barreto.jp - submitted by Juan Pablo – Edit
Tutorial on building your first ChatGPT plugin with Laravel step by step.
Read more [barreto.jp]
by Freek Van der Herten – 6 minute read – Edit
I'm happy to share that we have released our latest package, spatie/laravel-blade-comments.
This package can add comments to your rendered HTML output. For each Blade view that was used to build up the response, it adds start and ending comments.
– chriswhite.is - submitted by Chris White – Edit
I'll show you how to generate a ZIP export of an arbitrary numbers of files in an S3 bucket in a fast and memory efficient way, so you don't go OOM.
Read more [chriswhite.is]
– themsaid.com – Edit
Mohamed write a nice post featuring a lot of good tips on how to make your code readable.
Read more [themsaid.com]
– tighten.com - submitted by Jamison Valenta – Edit
In this post, Andrew presents several patterns in polymorphic database relationships in Laravel that allow us to eliminate conditionals.
Read more [tighten.com]
Scary stuff, but handled very well by the Packagist team.
Read more [blog.packagist.com]
– www.youtube.com - submitted by Bert De Swaef – Edit
The entire playlist of our Laravel for Beginners course. You'll learn about model, controllers, factories, seeders, relations and many more.
Read more [www.youtube.com]
Learn how to automatically clear Ray's screen when running a test
Read more [myray.app]
– blog.oussama-mater.me - submitted by Oussama Mater – Edit
This article shows how to implement real-time notifications using Server-Sent Events instead of WebSockets or Long Polling.
Read more [blog.oussama-mater.me]
– fly.io - submitted by Chris Fidao – Edit
Use Laravel's new Process facade while avoiding issues related to processing stdout vs stderr output, environment variables, and PHP security settings.
Read more [fly.io]
– arunas.dev - submitted by Arunas – Edit
If you have jobs and listeners being fired within database transactions, it can lead to data inconsistencies if the transaction rolls back. Learn how to properly handle them here.
Read more [arunas.dev]
by Freek Van der Herten – 3 minute read – Edit
We've released a new major version of our Laravel Analytics package. The most important new feature of this release is the support for GA4.
– www.conroyp.com - submitted by Paul Conroy – Edit
Rolling averages are a great tool for smoothing out noisy data, helping you to more easily spot long-term trends. This new package adds first-class support to Laravel Collections for rolling average calculations.
Read more [www.conroyp.com]
by Freek Van der Herten – 7 minute read – Edit
In this blog post, I'd like to show the easiest way to skip tests conditionally in tests. Using the simple technique, which can be used for other things besides skipping tests, you can make your tests much more flexible.
– localheinz.com – Edit
Focus on writing code that solves real problems, is well-tested, and is easy to maintain.
Read more [localheinz.com]
– jolicode.com – Edit
Let's take a look how we can extend Var Dumper to dump our objects, or some vendor objects, in a more readable way.
Read more [jolicode.com]