bo3bdo Blog

bo3bdo Blog - A Blog Made For bo3bdo

Welcome to my blog. Short posts with 🔥hot tips for a quick read.
List Of Tags
Html - browser - Laravel - PowerShell - Ubuntu - Apache - PHP - MySQL
image

Laravel Blade Hot Refresh With Vite

Published 3 weeks ago 3 Min Read 99 comments
The Laravel team updated the first-party Laravel vite-plugin package to support full page reload on blade/arbitrary file changes. Vite will do a full page reload when you edit a blade template (or any other file you configure) that changes. No more manual browser refreshing is required during development! The basic configuration in your vite.config.js file looks like the following when
Read more →
image

You should be customizing your PowerShell Prompt with PSReadLine

Published 3 weeks ago 4 Min Read 224 comments
I thought I had things pretty well dialed in. I even used PSReadLine, a bash inspired readline implementation for PowerShell. But was I REALLY USING IT? No. Honestly, at the time I wouldn't be able to tell you what it offered me as a command line users. Wow was I wrong. Don't sleep on PSReadLine if you use PowerShell as your preferred prompt. Head over there and give them some love and a star and buckle up, friends!
Read more →
image

Laravel IDE Helper Generator

Published 3 weeks ago 1 Min Read 206 comments
This package generates helper files that enable your IDE to provide accurate autocompletion. Generation is done based on the files in your project, so they are always up-to-date.
Read more →
image

HOW TO HARD REFRESH BROWSER AND CLEAR CACHE USING WINDOWS OR LINUX

Published 3 weeks ago 2 Min Read 394 comments
Why is my website not showing my changes? When changes are made to your website they may not register immediately to your browser. You can hard refresh your browser, and if that doesn’t work clear your cache.
Read more →
image

Creating Your Own PHP Helpers in a Laravel Project

Published 3 weeks ago 7 Min Read 205 comments
Laravel provides many excellent helper functions that are convenient for doing things like working with arrays, file paths, strings, and routes, among other things like the beloved dd() function. You can also define your own set of helper functions for your Laravel applications and PHP packages, by using Composer to import them automatically.
Read more →
image

Adding estimated time to read an article in Laravel

Published 3 weeks ago 1 Min Read 143 comments
hen you want to extend some of the classes’ functionality in Laravel, Macros are your best bet. Your imagination is the only limit to what you can do with macros. For instance, I have recently come across a handly little macro shared by Marcel Pociot that gives you the estimated reading time for the given text(s). Here’s how the macro looks like.
Read more →
image

Laravel 9 CRUD Example Tutorial for Beginners

Published 1 month ago 11 Min Read 85 comments
Laravel 9 CRUD Example Tutorial for Beginners Today we will be learning how to create a Laravel CRUD (Create, Read, Update, Delete) web application step by step from scratch.
Read more →