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

Super Collection of 4 Cheat Sheets

Published 10 months ago 1 Min Read 157 comments
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 →
image

Artisan down and maintenance page customisation in Laravel

Published 10 months ago 4 Min Read 132 comments
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 →
image

Laravel cheat sheet

Published 10 months ago 24 Min Read 53 comments
Laravel cheat sheet Project commands
Read more →
image

Laragon

Published 10 months ago 2 Min Read 109 comments
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 →
image

Polymorphic Relationships Laravel Eloquent Relationships

Published 10 months ago 1 Min Read 365 comments
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 →
image

Quick & Easy Ways to Speed - Laravel Website

Published 10 months ago 2 Min Read 455 comments
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 →
image

How to Install Bootstrap 5 in Laravel 9 With Vite

Published 10 months ago 9 Min Read 213 comments
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 →
image

Laravel Blade Hot Refresh With Vite

Published 10 months ago 3 Min Read 397 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

Laravel IDE Helper Generator

Published 10 months ago 1 Min Read 113 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

Creating Your Own PHP Helpers in a Laravel Project

Published 10 months ago 7 Min Read 459 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 10 months ago 1 Min Read 489 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 10 months ago 11 Min Read 235 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 →