Onebite.dev

Developer tips & trick, one bite at a time

Developer tips & trick around laravel


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
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
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?
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 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.
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
How to optimize laravel app with caching route and config How to optimize laravel app with caching route and config. All it's done by simple one-line command


Colleciton of bitesize articles for developer around laravel