Recent Posts

30 Laravel Eloquent Tips & Tricks

Hi, today I’m going to share with you some tips and tricks in Laravel Eloquent ORM. There are a lot of semi-hidden functions and less-known ways to achieve more with it. Let’s dive in:   1- The Exists Property The exists property is used to show whether the ...

Laravel Timestamps tricks

Hi guys, today I’m going to share with you some timestamp tricks in Laravel. Let’s dive in: 1- Disable Timestamps If your DB table doesn’t contain timestamp fields created_at and updated_at, you can specify that Eloquent model wouldn’t use them, with $timestamps = false property.   2- Change Timestamp Column ...

Laravel Localized Routes 🌍

Hi, in this post, we will learn how to set up and use localized routes in a Laravel app. For this tutorial we will use this package codezero-be/laravel-localized-routes. 📦 Install let’s install the package Next, we have to publish configuration file now in the config folder you will find ...

Laravel Multiple Timezones 🕔 🕚 🕒

In this tutorial, i'll show you how to add multiple timezones functionality into your laravel application. Dates must be presented to a guest or user in his local timezone so it's better to store those in UTC timezone (default in laravel).

laravel https redirect

Force https redirect in Laravel

In this tutorial, i'll show you how to force https in your laravel application. HTTPS helps keep your browsing safe by securely connecting your browser with the websites you visit

laravel image upload tinymce

Integrate TinyMCE editor in Laravel with a File Manager / Image Upload

In this tutorial, i’ll show you how to integrate tinymce editor in your laravel application. Tinymce is the most advanced and popular and free wysiwyg html editor. All CMS for example WordPress has a module from which you can upload your media files like images and you can ...

How to build Multiple Authentication in Laravel

In this tutorial we are going to show you how to implement multi authentication system in your laravel app with specific guards.

Laravel .env variable in Blade and Controller

In this artical, i will show you how to get config variable (env variable) in view file laravel. we can get env variable value in controller and blade file too. we can simple print env file variable by using env() helper.