Latest Laravel/PHP Articles

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


Sometimes you want to develop beautiful notifications in HTML or markdown format. But how do you style them easily without having to send them every time you’ve...
Laravel Homestead is an official, per-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web ser...
Here is a helpful tip for those who want to model a many-to-many relationship with extra columns or fields in a Laravel app with Eloquent.
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Many times I ended up writing messy code that ultimately caused issues. Doing so repeatedly I started thinking how can I improve the code and how can I remove t...
Future-proof Laravel deployments with Kubernetes and DevSpace. This tutorial works with any Kubernetes cluster (minikube, GKE, AKS, EKS etc.
With the release of Laravel 6, I made a change to Shift to default the configuration files. Primarily this was done in an effort to improve the user experience....
Martin Hujer published a write-up on how he uses PHPStan to a full extent in a real-world application that combines Symfony Framework with Doctrine ORM and is t...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Contributed by Grégoire Pineau in #32742. The Console component includes some features to output tables and configure them in many different ways. In Symfony...
Hello there! In this opportunity, I would like to show you how to create a simple web app with PHP and Yii from scratch, set up your app on your local Apache se...
One of the most important parts of building an API, or any codebase for that matter, is making sure it is well-documented.
This article we are going to learn is: How to install and run the Swoft database. This article is one of a series of articles on the Swoft Database ORM. Let’s l...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Laravel ships with a great starting directory structure, one which may support your entire project, depending on the size. If, however, you notice it’s getting...
Which backend programming language should I use for my website backend development? It is the most critical decision; you have to make for your website. Both PH...
Arrow functions, introduced in PHP 7.4, provides a concise way to write functions in PHP 7.4. Short closures, also called Arrow functions, are a way of writing...
This PSR describes a specification for autoloading classes from file paths. It is fully interoperable, and can be used in addition to any other autoloading spec...