Our blog

10 less-known (but awesome!) Laravel Collections methods

Laravel Eloquent is awesome – probably I don’t need to tell you that. What is less known is the list of methods to work with Eloquent Collections. You can filter them, slice them, easily modify etc. But let’s look at it one by one.

Tuesday, November 3rd, 2015

Building a Laravel form without Illuminate/html

Laravel 5 version got us confused by separating our beloved Form::open world into a separate package. Now you have to add “illuminate/html”: “~5.0” to your projects, whenever you want to use forms, right? Not necessary, you can survive without it.

Thursday, October 29th, 2015

New Laravel Quickstart guide with example application

Last night Taylor announced a pleasant surprise for the beginners of Laravel – new Quickstart section in the official documentation.

Wednesday, October 28th, 2015

Requests: has() and hasFile()

Another quick tip and thing to watch out for. When processing form data, how do you check if the field is not empty? With $request->has(‘field’), right? But what about uploaded files?

Tuesday, October 27th, 2015

Laravel News Podcast – with first two episodes!

Great quick news for the Laravel community – today Eric L. Barnes, author of Laravel News website, announced Laravel News Podcast! So, from now we can have new information about Laravel in audio format.

Monday, October 26th, 2015

Filtering query results with different conditions on the same page

Title of the article might sound unclear, but let’s imagine you have customer list from Customer::all(), but then you need two separate lists/tables – customers from UK and from US. How to avoid two queries here? There’s a filter() function.

Thursday, October 22nd, 2015

Foreign keys with migrations: don’t forget UNSIGNED

While working on migration files in Laravel, it’s relatively easy to forget one small detail which will restrict you from creating foreign keys. Let me tell you more.

Wednesday, October 21st, 2015

How to create migration file with Make:model command

Recently I’ve found out a nice little way to speed up generating of database stuff – I used to use make:migration and make:model Artisan commands separately. Apparently, they can be combined into one.

Tuesday, October 20th, 2015

How to create a Laravel 5 package in 10 easy steps

So you want to create your own package? Surprisingly, this topic has little information online and not properly described in the official docs. Let’s fill in the gaps and create a new Laravel 5 package from scratch.

Monday, October 19th, 2015