Latest Laravel/PHP Articles

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


If you ever used Laravel Forge to deploy, you might have not ever faced the trouble of uploading a Laravel application. But what about using a different destina...
In simple cases, migrations just change your database structure, add tables and columns, and you don’t have to change the data that you already have stored in y...
Streams are the way of generalizing file, network, data compression, and other operations which share a common set of functions and uses. In its simplest defini...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Writing clean code isn’t hard, but sometimes getting a piece of code to work right can get in the way of making it maintainable. Unfortunately, as many of us kn...
I have been using a helper trait to make working with middleware arguments feel nicer. I’m going to walk through the current way we can pass arguments to middle...
Let me show you the easiest way to implement Auth APIs using JWT. We are using tymondesigns/jwt-auth package here.
I’ve done this in a front-end app that should be customized, based on the server it was hosted. It was just one front app hosted in many servers with an unique...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Once I caught myself thinking about time in databases and realised that I nearly always used time with one-second precision just because it was a common way to...
Today we are launching an exciting new feature for Laravel Forge: metric monitoring! Laravel team member James Brooks has been working hard on this feature for...
Stop SQL Injection from .htaccess# Enable rewrite engineRewriteEngine On# Block suspicious request methodsRewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRAC...
This feature gives response with 200 OK by default. If you want to change the HTTP status code, you can try it this way: Another way is overriding some methods...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Today, We want to share with you Laravel 5/6/7 Joins Example Tutorial.In this post we will show you inner join, left join, right join, advanced join, hear for j...
Today, We want to share with you Sort Collection By dates in Laravel.In this post we will show you laravel collection custom sort, hear for laravel collection->...
Single Action Controller is the feature in Laravel which as the name suggests allows to create special controllers with single action. For example in a project...
The new Blade components in Laravel 7 are great. They provide an easy way of defining blade components in a Vue-like tag aliases. One of the nice features of Bl...