Latest Laravel/PHP Articles

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


I’ve recently found a simple package that helps to transform any URL into embeddable HTML, the best examples are Youtube and Vimeo videos. Let’s imagine you hav...
By convention Laravel expects that the “Sites” model have a ‘host_id’ column. If it doesn’t have it, you can set the second and third params of the relation’s m...
According to the official documentation for google’s recapture software, after a user attempts the “I’m not a robot” challenge and submits the form, we can acce...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Using the AWS Simple Queue Service is easy, but not that easy as RabbitMQ. I’m going to explain how to use it without reinventing the wheel. I have used RabbitM...
What’s new in 5.7? What improvements were made? Learn how to build better PHP applications with this new release. In this article, I’ll cover the new features i...
You want to login into their accounts to help them with their issues but you can not ask them to tell their password. One solution is to setup a master password...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
), it’s convenient to generate slug immediately after title has been typed in. public function check_slug(Request $request) { $slug = str_slug($request->title);...
Short video with an example, how findOrFail() and similar methods may lead to unexpected result for the end user. If you want to see more video tips like this,...
I will be going over the setup of a multi-tenant application from scratch with Laravel. I will be using MySQL and Ubuntu. Most of these steps will be applicable...
In this blog post i am going to talk about some encountered technical problems on Laravel for beginners. You feel free yourself to give any recommendation and c...
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.
I am not only a DevOps Engineer, but I have also started from ground zero with PHP since I was a little kid, back in the days when I was in the 5th grade. Since...
There are some situations when we would like to manipulate data before sending it to validator. Let’s look at an example. The validated method is a great method...
You probably know people who advocate single primary keys, and others who advocate composite primary keys, both passionately. In this article, I will try to pre...
A couple of Laravel tricks I find myself using lately are Accesors and Mutators, these are built in features of Eloquent. A good use case for accessors is when...