Jose Jimenez
Jose Jimenez
Software Architect & Developer
> >

Articles about

Laravel

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.

Laravel Quick Tips: Simplify Your Eloquent Queries

September 29th, 2023 — Simplify Laravel Eloquent queries with these quick tips: use query() method and when() method for conditional queries.

Running npm run dev Outside Laravel Homestead for Efficient Hot Reload with Vue.js

July 31st, 2023 — Boost your Vue.js development with faster hot reloads! Run npm run dev from your machine instead of Laravel Homestead for optimum performance.

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.

Create pre and post deploy notifications in Laravel Forge using Slack

December 31st, 2022 — Create pre and post deploy notifications in Laravel Forge using Slack Webhooks.

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.