Category Archives: Laravel

Laravel Request Validation: Best Practices for Seamless Application Development

Laravel Request Validation: Best Practices for Seamless Application Development

Validation is a crucial aspect of any application. It ensures data integrity, enhances user experience, and prevents security vulnerabilities. Laravel, one of the most popular PHP frameworks, provides a powerful and flexible validation mechanism. However, understanding and implementing best practices in Laravel request validation can elevate your application’s quality significantly. In this blog, we’ll walk Continue Reading »

Generate Laravel 11 Tailwind CRUD Operation InnovationM

Generate Laravel 11 Tailwind CRUD Operation

An updated Laravel CRUD Generator version of  ibex/crud-generator now generates CRUD in Tailwind CSS in the blade with the blank Laravel installation. 1- Install Laravel composer create-project laravel/laravel laravel-11-crud 2- Create Migration php artisan make:model Posts –migration For example posts table has the following columns in migration below. <?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration {     public function up(): void     { Continue Reading »

9 Laravel Best Practices for Building Better Websites

Always Use the Latest Version Laravel becomes more secure and faster with each upgrade. By using the latest Laravel version, you can build more functional and secure websites. For example, Laravel 9.x, the newest release of Laravel released in February 2022, offers the following features: Anonymous class migrations are the default behavior, so multiple migrations Continue Reading »

Laravel Task Scheduling

Laravel Task Scheduling

  To manage scheduled tasks on the server, a fresh approach is offered by Laravel’s command scheduler. The scheduler permits you to boldly and uniformly outline your command scheduled in the Laravel application. Solely a single Cron entry is required, while using the scheduler, on your server. Task scheduler is outlined within the app/console/Kernel.php file’s Continue Reading »

Laravel Eloquent

Laravel Eloquent

  The Eloquent ORM included with Laravel gives a wonderful, basic ActiveRecord usage for working along with your database. With eloquent, each table in the database corporate a comparing “Model” that does utilize to connect with that table.  The model permits you to insert, update and delete the records from the table to recover or Continue Reading »