Laravel Livewire Reusables Components CollectionHi, I share with you my collection of components using Laravel 9, Livewire 2, Alpine.js 3, and some CSS frameworks like Bootstrap 4, Bootstrap 5, and TailwindCSS. Filepond Component https://youtu.be/bjd7lVFdrJ8 Barcode Generator Component https://you...Jun 3, 2022·1 min read
Aggregate Functions on Related Models LaravelSometimes you may need to execute some queries a little complex like counting the number of sales of a book or obtaining the minimum price for a product of a determinate category. To achieve this, we can use aggregate functions like withSum(), withMi...Dec 8, 2021·2 min read
How To Manage Multiple Gitub Accounts on the Same PCSometimes we have multiples GitHub accounts for many reasons like work, youtube, or your personal account. Probably in this moment you realize you don't know how can separate these accounts and make a push with the account you need. The solution to t...Dec 6, 2021·3 min read
Laravel 8: How To Create PDF using DOMPDF1. Create new Laravel Project In your terminal execute composer create-project laravel/laravel laravel-generate-pdf 2. Configure Database Credentials Open your .env, add your credentials 3. Generate Fake Data UserFactory comes by default in each new...Nov 28, 2021·3 min read
How to Load Neovim init.lua or init.vim in Sudo Mode LinuxOne of the biggest problems that I found when I was starting with Neovim was how to execute it in Sudo mode because my config file was always lost and did not work as I expected, here is the solution We need to make an alias: export SUDO_EDITOR="nvim...Nov 27, 2021·1 min read
How To Uploads Images with Filepond Laravel LivewireIn this tutorial, we are going to learn how we can upload images using Laravel Livewire, but we need some requirements like Alpine.js v2. Let's begin. Table of contents Create new Laravel project Configure Database Credentials Install Laravel Breeze...Nov 25, 2021·5 min read
5 Laravel Packages To Use In Every Project1. Laravel Debugbar Laravel Debugbar is one of those best Laravel packages that help users add a developer toolbar to their application(s). This package is mainly used for debugging purposes. This package looks like You can check the documentation ...Nov 21, 2021·2 min read