Handling large data with cron jobs and queue workers

One problem a lot of developers seem to come into, from reading their code, is when they try to handle large sets of data with background scripts. There are a few common mistakes that I have seen from inheriting the code of my predecessors, and I thought I would offer some solutions to the problems …

Using MySQL to return complex tagged results

Hi everyone In this article I thought I would tackle complex tag searching, using MySQL. There are lots of ways this can be achieved at a PHP level, through looping and checking/comparing. However, if you are working with a large dataset, and tagging is a required piece of functionality, for example in an enterprise blog, …

Dependency Inversion and Interface Segregation using Laravel’s Service Container

In very short, we’re going to cover the Interface Segregation Principle (ISP) and the Dependency Inversion Principle (DIP) in this article, and practically how we implement them within a Laravel environment. Dependency Inversion Principle The principle is handy for the decoupling modules (making them independent of one another) Modules should not depend upon each other, …

Simple open source package for Laravel RESTful APIs

Hi everyone In my last post about creating simple search and filtering for Laravel I said I was considering creating a package to encapsulate this functionality. Well, I got this done a few weeks ago and have now released it onto Composer (Packagist) as kya/laravel-rest You can find the repository on GitHub here, and the …