Articles about
Articles about
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.
September 3rd, 2024 — Enhance Laravel customization with Composer Preload Files Plugin. Override helper functions cleanly and maintain organized code.
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.
April 8th, 2024 — Understanding the Laravel N+1 problem: excessive queries when fetching related data. Solve it with eager loading for improved performance.
March 18th, 2024 — Facing Homestead provisioning errors? Apply a temporary fix by editing Homestead.yaml and /scripts/in-flight-service.sh to bypass ngrok repository issues.
January 20th, 2024 — Troubleshooting Laravel Horizon jobs stuck in pending: configure unique prefixes for HORIZON, CACHE, and REDIS settings.
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.
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.
October 30th, 2023 — Improve performance in Laravel by configuring read/write database connections. Also, discover the benefits of a separate replicated database for reporting.
September 29th, 2023 — Simplify Laravel Eloquent queries with these quick tips: use query() method and when() method for conditional queries.
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.
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.
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.
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.
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.
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.
December 31st, 2022 — Create pre and post deploy notifications in Laravel Forge using Slack Webhooks.
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.
October 5th, 2022 — Use data migrations to create a patch that will correct production data during deployment.
October 1st, 2022 — Protect your websites from iframe embeds by using Laravel's out of the box middleware.
September 8th, 2022 — Remove index.php from your Laravel application, allowing for clean URLS and prevents double indexing from SEO hurting your rankings.
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.
July 29th, 2022 — Learn how to leverage configuration and environment variables for improved readability and performance in your applications.
May 19th, 2022 — After you have completed provisioning Homestead, you can connect to Redis using TablePlus using the following configuration.
April 27th, 2022 — Introduction into a new package to make Laravel 9 migration pivot tables utilizing the new closure method.
March 25th, 2022 — Learn to optimize your Laravel application in production, allowing it to run as fast and efficiently as possible.
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.
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.
May 7th, 2020 — In Laravel learn how to get all morphs for a Many To Many Polymorphic Relationship.
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.
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
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.
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.