The magic behind Laravel's new defer() helper
September 15, 2024 — Laravel has recently been shipped with a new helper called defer()
which can be used to defer the execution of a callback until after a successful response has been sent.
A blog on PHP, JavaScript, and more
September 15, 2024 — Laravel has recently been shipped with a new helper called defer()
which can be used to defer the execution of a callback until after a successful response has been sent.
September 14, 2024 — If you’re a long-time Laravel user, you might know about the feature that allows you to create temporary and signed URLs for files. This is a great feature that will enable you to share files with other users for a specified time.
September 13, 2024 — If you’re working with Git often in the terminal, you might have noticed that the git diff
command is not very pretty when displaying unstaged changes.
September 8, 2024 — When you’re working with service classes in Laravel that you would inject into your controllers or anywhere else, you might need to pass some configuration values to them.
September 5, 2024 — You read more code than you write. And it’s true. When working on a large codebase, you might need to read a lot of code (written by others) to understand it better.
September 3, 2024 — Sometimes what happens is that for some reason, you might need to back up your database tables.
August 27, 2024 — When I wrote this article about adding support for showing app screenshots in the install UI, there wasn’t a way to do the same on the desktop.
August 17, 2024 — Git is a de-facto standard for version control these days. And there’s no doubt that it’s a powerful tool that can help you manage your code and collaborate with others.
August 6, 2024 — Being aware of the queries that are being executed in your application is one of the most important things to do if you want your application to be performant and scalable at all times.
July 27, 2024 — Browsers have been getting some pretty important features at a rapid pace lately. Features that might take several JavaScript (or CSS) libraries to implement are now available in browsers out of the box.