Our blog

Laravel: Upload File and Hide Real URL for Secure Download under UUID

File uploads are one of the essential things in web apps these days. But secure download of these files is sometimes even more important. So how to store files securely so people wouldn’t have access to them or guess their URLs or IDs of their records? Here’s a small demo tutorial.

Friday, November 23rd, 2018

Laravel Group Query Result by Day/Month/Year

Quick tip for those who want to list some events, grouping them by some date value – by day, month, year etc.

Sunday, November 18th, 2018

Eloquent: Expert Level Course – 4 FREE Lessons and 50% Discount

I’ve recently launched a new online-course Eloquent: Expert Level. With this article, I want to make you an offer which may convince you to join the course.

Monday, October 29th, 2018

How to add new .env variable, so teammates would notice?

A common problem while working in a team is some custom variables needed, when only one person on the team knows that they are needed, and then other people have errors because they don’t have that variable. Like API Tokens for 3rd party apps, default values for some function – basically, anything that should be in .env file. So here’s an instruction for you, how to put new environment variables correctly, without screwing up teammates work.

Sunday, October 28th, 2018

FREE E-book: 50 Laravel Quick Tips (and counting)

Laravel is full of hidden gems, undocumented or less-known features, functions parameters and “hacks”. While finding them in work of my team, I decided to compile them into an e-book.

Tuesday, October 9th, 2018

How to Deploy Laravel Projects to Live Server: The Ultimate Guide

There are a lot of courses and articles about coding but much less about putting it in production. With a lot of questions asked, I decided to write this ultimate (hopefully) guide to deploy Laravel projects.

Tuesday, October 2nd, 2018

Use Laravel Observers and Global Scopes to Create User Multi-Tenancy

Multi-tenant application are pretty common these days, where database are entries can be accessed only by users who created them. In this article, I will show the simplest way to achieve it in Laravel.

Saturday, August 11th, 2018

Validate Max File Size in Laravel, PHP and Web-Server

I got this question at least a dozen times: “I’m raising my file validation rule in Laravel to 20 MB but still get errors, it doesn’t work”. So decided to expand on it and explain the reason, and what to do.

Thursday, August 9th, 2018

How to Change Date Format in Laravel and jQuery UI DatePicker

One of the most often things to change in web-projects is adapting it to a certain geographical area – language and timezones are two examples. But also there’s a date format, which can be pretty different in certain parts of the world. How to handle it properly in Laravel?

Wednesday, July 25th, 2018