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.
Quick tip for those who want to list some events, grouping them by some date value – by day, month, year etc.
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.
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.
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.
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.
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.
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.
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?