If you seed your local database with model factories, you probably use the fresh faker library (as the original faker library has been deprecated). And if you need some random images to populate you pages, the faker library has your back.
class MediaFactory extends Factory
Most of modern websites have image-rich designs but handle images inefficiently. Here are some of the common mistakes when serving hosted images on an average Laravel app:
When someone visit your website on a page with plenty of images, fetching all the resources over the network can be expensive, especially if you do not serve resized images or network is slow. …
Being able to suggest additional products on an eCommerce is powerful feature. On a typical product page, you’d like to show others products directly related or similar, and usually that’s not so hard (it could be though). …
Scout extended is a great package, letting you use many awesome features provided by algolia directly in your laravel app.
"key" => "value",
"another_key" => [
"key1" => "value",
"key2" => "value",
When scheduling tasks, like database backups, silent fails are the worst. Being aware of failure of those tasks is critical. Hopefully healthcheck, an open source cron monitoring solution can help!
As a self hosted plateform or directly on their nice saas, it lets you:
Logging is an important part of modern applications, as it provides a great and easy way to identify points of failure and unwanted behaviors. And for good reasons logging has become a first class citizen in recent versions of laravel.
Laravel 5.6 was a major update on logging management and…
When letting a user change his password or deleting his account, you might ask him to give his old password (for security reason). Laravel doesn’t offer this functionality to check the given password value out of…