Our blog


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


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


Don’t forget to restart Tinker

Artisan Tinker is a nice way to quickly check some commands without making changes the code. You launch artisan tinker and can do things like database queries, check if some functions are working etc. But there’s one thing to keep in mind.

Thursday, January 19th, 2017


Where, WhereLoose and WhereStrict – did you know about them?

Some Laravel functions are not mentioned or emphasized in the official docs, especially if they change from version to version. One of these examples is simple where() in Eloquent – what do you think, does it compare in a “strict” or “loose” way?

Tuesday, January 17th, 2017


From Client Dev-Work to Your Product: 7 Tips to Change Your Mindset

Quite often developers and agencies get tired of client work and start creating their own products: internal tools, packages, maybe

Wednesday, January 11th, 2017


WherePivot and WherePivotIn – additional filters for many-to-many relationships

Recently I’ve found a small detail in Laravel documentation which I want to share with you. Apparently, it’s possible to filter pivot tables additionally, if needed. Let me show you how.

Monday, January 2nd, 2017

inspirational quotes artisan inspire

Want an inspirational quote? There’s Artisan command for that!

Web-development is not all serious – there are some fun activities too. So let’s have a break from mega-urgent code writing and get some inspiration. From our beloved Artisan – with a command “inspire”.

Thursday, December 29th, 2016

bobby bouwmann

Bobby Bouwmann: “2 Years and 1000 Best Replies on Laracasts”

In recent years, Laracasts has become a no.1 resource for learning Laravel. Also, there’s a really active discussion forum on the website, so we decided to chat with one of the most active members there. Bobby Bouwmann has almost 1000 “Best Reply” awards on the forum, which is a huge number. So what is it like to be so active on Laracasts? Let’s find out.

Tuesday, December 27th, 2016


Did you know about orderByRaw() in Eloquent?

Let’s imagine a simple situation – you need to write an Eloquent query and order the result by the difference of two columns. Or some other calculation. Time to apply a raw query!

Tuesday, December 27th, 2016