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
-
Git
-
Apache
-
PHP
-
MySQL

Super Collection of 4 Cheat Sheets
Super Collection of 15 Cheat Sheets
➤ HTML
➤ CSS
➤ JavaScript
➤ SQL
These are all handcrafted by me and will definitely make you a 100% better web developer.
Read more →

Artisan down and maintenance page customisation in Laravel
We often require maintenance to be done for our project. Laravel provides easy commands for the same.
Using “artisan down” we put our Laravel application on maintenance
After executing
Read more →


Laragon
I was using Xampp for local development until about a year ago when I found Laragon & I haven't looked back since. This is seriously the most powerful local development tool I have in my entire "developer toolkit". I started working for a new company about 2 months ago & their entire team was using various setups for local dev and were always encountering problems. Setting up a new project locally was always a nightmare for them due to mysql version conflicts, having to change php versions, etc. When I introduced Laragon to them, they were amazed at how easy it was to install, maintain and how flexible it was to update/switch their dependencies. My manager told me that since the team has started using Laragon for local dev, project setup time has gone down from an average of 6 HOURS, to less than 30 mins. AMAZING.
Read more →

Polymorphic Relationships Laravel Eloquent Relationships
A polymorphic relationship allows the child model to belong to more than one type of model using a single association. For example, imagine you are building an application that allows users to share blog posts and videos. In such an application, a Comment model might belong to both the Post and Video models.
Read more →

Quick & Easy Ways to Speed - Laravel Website
Quick & Easy Ways to Speed - Laravel Website Open up your composer.json file and look through each of your dependencies. For each of your dependencies, ask yourself "do I really need this package?". Your answer is mostly going to be yes, but for some of them it might not be.
Read more →

How to Install Bootstrap 5 in Laravel 9 With Vite
Bootstrap is a free and open-source web development framework. It’s designed to ease the web development process of responsive, mobile-first websites by providing a collection of syntax for template designs.
In other words, Bootstrap helps web developers build websites faster as they don’t need to worry about basic commands and functions. It consists of HTML, CSS, and JS-based scripts for various web design-related functions and components.
Bootstrap 5 is the newest version of Bootstrap.
Read more →

Laravel Blade Hot Refresh With Vite
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 →

Laravel IDE Helper Generator
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 →

Creating Your Own PHP Helpers in a Laravel Project
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 →

Adding estimated time to read an article in Laravel
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 →

Laravel 9 CRUD Example Tutorial for Beginners
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 →