Our blog

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

rollback-days

Do we still need Down migrations? Taylor says No.

On the last episode of Laravel Podcast, Taylor Otwell said something controversial but I had a gut feeling about it for a long time. So, do you actually use down() method in migrations, and rollback them?

Thursday, May 4th, 2017

enterprise-software

Can Laravel Be Used for Big Enterprise Apps? [Summary of Laravel Podcast]

Yesterday I’ve listened to a new Laravel Podcast episode with Taylor Otwell, Jeffrey Way and Matt Stauffer – and they (finally) talked about creating big apps with Laravel, lately this question is asked a lot by everyone. So is Laravel “fit” or “mature enough” for big projects? Since the podcast guys don’t provide a transcript, and listening to 50 minutes can be an overkill, I decided to write a summary, quoting the conversation and dividing the answers into more readable format like Q&A and bullet points, also relevant links.

Tuesday, May 2nd, 2017

eyewitness_server

Laurence Ioannou from EyeWitness: “Monitoring specifically for Laravel”

Another interesting interview on our blog, at the same time presenting you a new tool – EyeWitness.io is a monitoring and application analytics tool, built specifically for Laravel. Today we’re talking with its founder Laurence – he shares the idea and why EyeWitness is different from other similar projects.

Wednesday, April 19th, 2017

Mattias Geniar from DNS Spy

Mattias Geniar from DNS Spy: “Without Laravel Spark, my project wouldn’t exist”

There are more and more applications built on Laravel, part of them use Laravel Spark as their base. So I decided to interview the owner of such project. Mattias is not only the creator of DNS Spy, but also actively shares his tips on server management, so you will get a lot of knowledge bombs from this interview – on Laravel Spark, DNS topic and servers in general. Let’s get into it!

Monday, April 17th, 2017

wordpress logo

Using WordPress REST API in Laravel

Recent WordPress 4.7 version was released with a huge thing called REST API – earlier it was possible only with external plugins. So now we can query WordPress database from external projects. Including Laravel. So let’s try it out.

Monday, April 3rd, 2017

file upload laravel ajax

Laravel AJAX File Upload with BlueImp JQuery Library

File uploads is one of the most important functions on the internet, and we have bigger files nowadays, which means it’s not enough to have simple input fields – we need AJAX and processing file upload “in the background”. Here I will show you a simple example of that in Laravel 5.

Monday, March 27th, 2017