OneBite.Dev - Coding blog in a bite size

🧑‍🚀 Blog for learning laravel

laravel blog posts, coding tips and trick in a bitesize to help you learn laravel.

Connect database on app and GUI for Laravel Sail

Using Laravel Sail? here is how you can connect to your mysql database to your app or GUI like tableplus

laravel

Laravel vite manifest not found on deployment

How to solve error Laravel vite manifest not found on deployment

laravel

Target class controller not found laravel

How to solve error Target class controller not found in Laravel project

laravel

How to properly deploy Nova at Laravel Forge

Here is how you can add Nova to your fresh Laravel project that deployed via Forge

laravel

Get value response json from other funtion in Laravel

Here is how in Laravel if you need to get the value of response that returned json from local function

laravel

Renew SSL certificate Let's encrypt after Laravel Forge expired

When your subscription expired at Laravel forge, don't forget to reassign SSL certificate manually from your server

laravel devops

How to solve Unable to locate file in Vite manifest app sass at deploy

I got an error that says Unable to locate file in Vite manifest: resources/sass/app.sass when deploying my laravel app - here is how I solve it

laravel vite

Error Laravel Please make sure the PHP Redis extension is installed and enabled

Encountered this error? Error Laravel Please make sure the PHP Redis extension is installed and enabled. Lets see how to solve it

redis laravel

Solve Class Redis not found on Laravel project

Do you encounter error Class Redis not found on Laravel project and looking for a solution how to resolve this bug?

redis laravel

How to Install Laravel on Mac OS

Learn How to Install Laravel on Mac OS, by using brew and installing PHP, composer and mysql (if you need mysql)

laravel mac

Laravel empty relation when eager loading

Today I faced a problem, where Laravel shows empty results when query a relation with eager loading. Found the solution, it was I forgot to select the id as well, so the relation didn't know what connects the second table with.

laravel

How to backup database or Laravel App

Learn How to backup database on Laravel App. Remember to always backup your database, never underestimate what happen tomorrow

laravel

How to optimize laravel app with caching config, route and view

How to optimize laravel app with caching route and config. All it's done by simple one-line command

laravel