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.

laravel validation rules

Laravel Validation: 5 Less-known Rules

A short list in “Did you know…?” style. Laravel has a convenient validation mechanism, but most of us only use simple rules like ‘required’, ’email’ or ‘date’. Actually, there are a few less-known but pretty interesting ones. Let’s have a look.

Wednesday, June 14th, 2017

one two

Create Controller and Model in one Artisan Command

Laravel is full of little tricks, and quick ways to generate code with Artisan. One of the recent ones I’ve found is when you’re creating a CRUD record and need to create Model + Controller. You don’t need two separate commands for that.

Monday, May 29th, 2017

Screen Shot 2017-05-29 at 9.47.54 AM

Eloquent: How to Order Results by Mutator Attribute?

Recently I’ve encountered a situation and want to share a quick solution with you guys. Laravel has quite an awesome feature of Mutators – you can define extra fields in your Eloquent models that are dynamically calculated. But orderBy doesn’t work with them, so what can we do?

Monday, May 29th, 2017