Jose Jimenez
Software Architect & Developer
> >

Articles about

Laravel

Spatie Media Library improved directory listings

November 29th, 2022 — Break out the directory structure of your application media files to avoid slow directory listings, or slow file look ups depending on your system.

Data Migrations In Laravel

October 5th, 2022 — Use data migrations to create a patch that will correct production data during deployment.

Protecting your Laravel website from iframe embeds

October 1st, 2022 — Protect your websites from iframe embeds by using Laravel's out of the box middleware.

Remove index.php from Laravel Urls

September 8th, 2022 — Remove index.php from your Laravel application, allowing for clean URLS and prevents double indexing from SEO hurting your rankings.

Spatie Media Library url cannot be reached

August 26th, 2022 — Using the Spatie Media Library, learn how to add your own custom downloader to bypass sites preventing you from downloading from them.

Leveraging Laravel configuration and environment variables in your application

July 29th, 2022 — Learn how to leverage configuration and environment variables for improved readability and performance in your applications.

Connecting to Laravel Homestead Redis using TablePlus

May 19th, 2022 — After you have completed provisioning Homestead, you can connect to Redis using TablePlus using the following configuration.

Package to make Laravel 9 closure pivot tables

April 27th, 2022 — Introduction into a new package to make Laravel 9 migration pivot tables utilizing the new closure method.

Optimize Laravel Applications for production

March 25th, 2022 — Learn to optimize your Laravel application in production, allowing it to run as fast and efficiently as possible.

Using PHP 8.1 Enums in Laravel Models

January 19th, 2022 — The release of PHP 8.1 brings proper built-in support for Enums, proper cast support was also added in a pull request for Laravel 8. In this tutorial we will go over how to add Enums in Laravel Models.

Define your own Laravel 7 Custom Eloquent Casts

May 11th, 2020 — Declare your own Eloquent cast types to easily store small amounts of data, and easily return your data in a standardized format.

Laravel Get All Morphs for a Many To Many Polymorphic Relationship

May 7th, 2020 — In Laravel learn how to get all morphs for a Many To Many Polymorphic Relationship.

Replace password reset email in Laravel 5.6

March 11th, 2018 — I saw a few posts from people asking how to change the default reset password email contents in Laravel 5.6. This method will simply overwrite one method in Authenticatable.

Forcing non-SSL routes and redirects in Laravel

February 4th, 2015 — If you have SSL configured on your server, and you want to force non-ssl routes to be configured and redirected properly

Laravel environment domain routing

August 1st, 2014 — When working on a Laravel project you will typically have different environments, this tutorial will show you how to manage your domains so that they work properly in any of them.

Managing Laravel Application Routes

June 1st, 2014 — The first ever blog post is here. It might be a good idea to update this post with some more relevant content.