I am going to teach you about CI/CD, how to properly set up CI/CD for your own Laravel projects and how to perform good unit tests and, as a bonus: how to confi...
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...
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...
), 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...
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...