As a developer with experience in multiple frameworks, I have often found myself appreciating the ease of deployment with platforms like Vercel for NextJS and React projects. The ability to host, deploy, and manage projects seamlessly without spending hours on configuration is a huge advantage. However, in the Laravel ecosystem, achieving the same level of simplicity has been challenging.
Nuno Maduro, creator of Pest, unveiled the new features coming with Pest 3 during his talk at Laracon US 2024 on Tuesday. New features includes task management, architectural preset, and mutation testing.
PHP 8.4 is set to be released on November 21, 2024. This version has many new features and improvements, including property hooks, HTML 5 support, and chaining methods on new without additional parentheses. Here, we will explore some of the new handy array functions added in PHP 8.4 and compare them with Laravel's Array helpers
View composers in Laravel allow you to organize and reuse view-specific logic effortlessly. Instead of cluttering your controllers with repetitive code, view composers centralize the data preparation, making your Laravel applications more structured and maintainable. Learn how to use view composers to keep your views consistent, eliminate code repetition, and simplify complex data requirements.
Laravel's Model Factories are an excellent tool for generating fake data, which simplifies testing and database seeding. They help us create consistent and efficient data setups for our laravel applications. In this article, we will explore how to make the most of model factories in our laravel projects.
In this blog post, I'll be discussing some of the naming conventions in Laravel that I personally follow.
In this article, we will learn how to backup a Laravel application on Google Drive on a scheduled basis using spatie/laravel-backup and masbug/flysystem-google-drive-ext.
In this article, we will learn how to detect model attribute changes in Laravel using Laravel helper methods like isDirty, isClean, and wasChanged.
In this article, we will explore how fast bun is and how to use it as a package manager replacing npm, yarn, or pnpm.
I've been using Zsh for a while now, and I've been using it for my daily work. With countless plugins and themes available, it can be overwhelming to choose the right ones. I've compiled a list of the top 6 essential Zsh plugins that I use every day.
In this article, we will explore what Semantic Versioning is, why it is important, and how to use it effectively in your projects.
Learn how to create an RSS feed for your Nuxt 3 project using Nuxt Content v2. This article will guide you through the process of setting up a custom RSS feed.
Learn how to set up pre-commit and pre-push hooks in Git to auto-format, lint, and test your code before committing or pushing to the repository. Ensure that your code is clean, consistent, and error-free before sharing it with others.
Recently, I stumbled upon a situation where I had to use my personal device for work. I already had my personal GitHub account set up on my machine, and now I had to use my work GitHub account as well. I had to figure out a way to use both accounts on the same machine without any conflicts. In this blog, I will share the steps to set up multiple GitHub accounts on the same computer using SSH keys.
Laravel provides a variety of Blade directives to simplify common tasks in your Blade templates. In this article, we'll explore several useful Blade directives for working with CSS classes, error messages, JavaScript variables, JSON data, PHP code, and more. These directives help you write cleaner, more expressive Blade templates and streamline your development workflow.
In this article, we will learn about Laravel Blade Directives: Loops. Laravel Blade provides a set of directives to work with loops. We will learn about `@for`, `@foreach`, `@forelse`, `@while`, `@empty`, `@continue` and `@break`.
In this article, we'll learn about different Blade directives for conditional checks in Laravel. These directives provide a convenient way to manage and handle conditional logic within your Blade templates.
In this article, we'll learn how to secure our Laravel app by exploring different blade directives for authorization checks.
In this article, we'll explore advanced techniques for managing Laravel Macros using the `mixin` method provided within the `Macroable` trait. We'll learn how to organize and maintain Macros effectively, enhancing the flexibility and maintainability of Laravel projects.
In this article, we'll explore Laravel macros and learn how to extend Laravel's core functionality with custom macros. We'll cover the basics of macros, how to define them, and how to use them to enhance your Laravel applications.
In this tutorial, we'll explore how to convert English date to Nepali date (AD to BS) and vice-versa in a Laravel project. We'll utilize the `anuzpandey/laravel-nepali-date` package to achieve this functionality, which provides a simple and efficient solution for date conversion.
This article will explore how to utilize Laravel Queues on shared hosting environments. In scenarios where the installation of supervisor for queue worker management isn't feasible due to restrictions imposed by shared hosting environments, such as those utilizing Cpanel access exclusively, alternative strategies are required.
Environment variables play a crucial role in configuring and customizing applications. They provide a convenient way to store sensitive information or dynamic settings that can vary across different environments. In this article, we will explore how to create and utilize environment variables in Nuxt.js 3.
A friend of mine asked me what is the best way to set up a programming project from the start. This article will help you to speed up your workflow by making you a way more efficient programmer. The tools and techniques described in this article will help you maintain structure and organize your programming project.
In this blog post, I'll take you on an exciting journey of deploying a Laravel project on a Digital Ocean droplet. From creating and configuring your droplet to deploying your code and securing your application, we'll cover each step in detail, ensuring that you gain a solid understanding of the entire process.