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?
One of the final steps in every web-project is deploying to live server. Often I see a problem when server is provided by the client from their hosting they had purchased long time ago, and it is not suitable for convenient Laravel deployment. So in this article I will make some recommendations for clients, what hosting to prepare.
Sending email is a typical function for most web-projects: notifications, password reminders, invoices are done via email. But in recent years we’ve faced a technical problem. It’s not about just sending emails anymore, it’s about delivering them successfully.
Laravel-Excel package is great for exporting data. But not a lot of info there about formatting Excel cells – widths, word wraps, fonts etc. So when I encountered this in a client’s project, I decided to write this article with a few tips on this topic.