Recent Articles
How to deploy a laravel 8 app on VPS Ubuntu 20.04 - with php 7.4 / mysql / apache - via git
Lets see how to install laravel 8 on a fresh Ubuntu 20.04 TLS with stack: php 7.4 , mysql / apache.Keep in mind we gonna use git for the deploy, and we wont install Laravel from composer command ( eg: laravel new :name) . I will be using bitbuc...
How to install Laravel 8 without Livewire / Inertia / jetpack , but with the Old Laravel/UI
Laravel 8 came up with some new features, that for some might require additional learning curve. Specially talking about - livewire / intertia / jetpack. Livewire/ Inertia are mainly in hand when you are working with Vue, and jetpack`s main pur...
How to make a dynamic calendar with Laravel 7 /Blade syntax
Worked on a small project that was about a website that must render a calendar for dynamic years, and point out of its a vacation, and some type of text for it. This is one of the pages ( the homepage ), which loops thru all months in the given acti...
How to deal easy with Slugs in Laravel
Slugs are important part of the SEO of any website, so here is a little snippet method that can be used in the Model to retrieve a longer slugs that contain some relationships, without messing the view files with unneeded code. Lets say we h...
Laravel 7 How to upload Images with a Trait - reusable
Here We going to see how to upload images or other files, using Traits that can be used in a multiple Controllers without stuffing the Controllers page with unneeded code. Traits in general are used when we need multiple methods in a differe...