Jose Jimenez
Jose Jimenez
Software Architect & Developer
> >

Articles about

PHP

Mastering Laravel Redirects: A Comprehensive Guide

October 31st, 2024 — Learn Laravel's powerful redirect system, from basic routing to advanced techniques with fragments, permanent redirects, and best practices for modern web apps.

Enhancing Laravel Function Customization with Composer Preload Files Plugin

September 3rd, 2024 — Enhance Laravel customization with Composer Preload Files Plugin. Override helper functions cleanly and maintain organized code.

Streamlining Enum Class Naming in PHP with Laravel

August 6th, 2024 — Streamline PHP Enum naming in Laravel: Name Enums after the model and column for easy IDE autocomplete. Use PHP Enums Extended for enhanced functionality.

Understanding the Laravel N+1 Problem and How to Solve It

April 8th, 2024 — Understanding the Laravel N+1 problem: excessive queries when fetching related data. Solve it with eager loading for improved performance.

Troubleshooting Laravel Horizon Jobs Stuck in Pending

January 20th, 2024 — Troubleshooting Laravel Horizon jobs stuck in pending: configure unique prefixes for HORIZON, CACHE, and REDIS settings.

Pushing a Laravel Vue.js App to Production: CDN Hosting and Server Load Distribution

December 15th, 2023 — Learn how to push a Laravel Vue.js app to production, hosting the bundled file on a separate domain and allowing multiple servers to load from it.

Pro Tip: Filtering Queries with Laravel Eloquent's when() and whereRaw('0 = 1') for Accurate Results

November 30th, 2023 — Utilize Laravel Eloquent's when() and whereRaw('0 = 1') to conditionally filter queries and ensure no results are returned when no conditions are met.

Boosting Database Efficiency in Laravel: Master/Slave Setup and Replicated Reporting

October 30th, 2023 — Improve performance in Laravel by configuring read/write database connections. Also, discover the benefits of a separate replicated database for reporting.

How to Setup Fontawesome Library with Laravel 10, Inertia, and Vue 3

June 22nd, 2023 — Add stunning Fontawesome icons to your web applications in Laravel 10 with the help of Inertia and Vue 3 for an enhanced user interface.

Simplify Your Laravel Project Installation with One Custom Command

May 30th, 2023 — Simplify your Laravel project installation with a custom command. Read on to learn how to create one that installs your app on different environments.

Getting Next.js 13, Laravel 10, Sanctum, Homestead and custom domain up and running

April 20th, 2023 — Learn how to efficiently set up Next.js 13 and Laravel 10 with Sanctum using Homestead for local development, while also configuring a custom domain to enhance your development environment.

Using OpenAI's GPT Model to Filter Famous Personalities and Brands in Text Input

March 30th, 2023 — Discover how the OpenAI GPT-3 model can accurately detect famous people and brands from text input, useful for blocking or collecting user input. Its global training dataset makes it a powerful tool to leverage.

PHP Coding Standards Fixer with Github Actions

January 31st, 2023 — Learn how to configure a PHP project to follow PHP Coding Standards and format it automatically in the background using GitHub Actions.

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.

Installing local composer packages

June 17th, 2022 — Learn how to install composer packages locally, great for easy development during local package development.

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.

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.