Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


sebastiandedeyne.com

Cleaning up package.json keys
I'm in the process of cleaning up some npm packages that haven't been touched in a while, and part of that is pruning all the cruft that has been accumulated in...
Ensuring your API remains consistent and reliable is akin to keeping a ship steady during a storm. As your application grows and changes, so too does the need t...
class User { const NAME = 'Paul'; } class User { const NAME = 'Paul'; } $searchableConstant = 'NAME'; var_dump(User::{$searchableConstant}); class PHP { public...
Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Starting from Node.js v20.6.0, Node.js supports .env files for configuring environment variables. Previously you would need to use a package called dotenv to lo...
const capitalize = (text) => `${text.charAt(0).toUpperCase()}${text.slice(1)}`;export const camel = (text: string): string => { return text.replace(/(?:^\w|[A-Z...
Crafting an effective CV is a crucial step in your job application process, especially in the field of software development.
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Distributing PHP applications is quite complicated. For instance, to run a Symfony project in production, a web server, the PHP engine, and the appropriate PHP...

muhammedsari.me

Hands-on decoration
The Decorator design pattern, featured in the original book by the Gang of Four, captivates me the most among all the discussed patterns. Its simplicity and pow...
We are thrilled to announce the release of a brand new plugin for Pest PHP: Stressless. It's a fresh new addition to the Pest PHP family, and it brings the powe...
Guzzle is a popular PHP HTTP client that makes it easy to send HTTP requests and create web service libraries. The most popular PHP frameworks provides an inter...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.

blog.oussama-mater.tech

PHP attributes in Laravel
Attributes offer the ability to add structured, machine-readable metadata information on declarations in code: Classes, methods, functions, parameters, properti...
N+1 issues are a common pitfall when writing applications backed by a relational database. These issues happen when you attempt to access data from a relationsh...

sebastiandedeyne.com

iA on AI
A nuanced take on AI by the makers of iA Writer.

sebastiandedeyne.com

Git gud at communication
Product Managers, Agile, and other product development processes solve communication problems. If everyone had telepathic powers, those problems would shrink or...