LARAVEL SOLUTIONS FOR YOUR BUSINESS

You need a custom web-project done? We’re here to help. We’re looking at the business goals of the client, and only then turn it into Laravel code.

We write about Laravel. A lot.

Screen Shot 2017-01-25 at 12.44.51 PM

Eloquent: has() and doesnthave() – get only rows that have children

From time to time I write short tips about Laravel, and one of the most popular topics is Eloquent. It has so many “hidden” or poorly documented functionality, one of those is filtering parents by whether they have or don’t have children. Let’s see an example.

Wednesday, January 25th, 2017

in-relationship

Eloquent: Get the Latest Row from Relationship

Another “hidden gem” of Eloquent. Let’s imagine that you want to query all rows from the table and also one related row – not all of them, but the newest one. Apparently, it’s pretty easy.

Monday, January 23rd, 2017

year-review

83 Top Laravel Articles in 2016: What You Clicked in Newsletters

A little later than most “Year in Review” posts but it took some time to manually pick the most-clicked articles from our newsletter, there were 1000+ useful links from all over the web. Also I will mention authors with links to their profiles – let’s thank them for their effort! So, what topics were the most popular in 2016?

Friday, January 20th, 2017