Laravel

Tutorials, tips, tricks, news, articles about Laravel, the web application framework.

Laravel

Laravel 9 Localization With Multi-languages Database Tutorial

How to create a multi-languages database. And change your web application language according to the URL. In other words, let’s localize our database and create a middleware to change the web app language.

Read More
Upload and retrieve by Laravel media library
Laravel

How to upload & retrieve images by Laravel media library

Using the Laravel-media library package for handling media via Restful API makes it a piece of cake and a time saver. That is what we will learn in today’s tutorial.

Read More
upgrade-to-9
Laravel

How To Upgrade From Laravel 8 To Laravel 9.

Laravel 9 is now released, and we’re excited to check it out because it’s the most up-to-date technology available. So, let’s upgrade step by step.

Read More
Laravel sitemap generator
Laravel

How to generate a sitemap for a Laravel website

Sitemaps are very important, search engines such as Google read the sitemap file to crawl your site more efficiently. Sitemaps tell which pages and files, you think are important in your website but how can we create a sitemap in a Laravel website.

Read More
Laravel Breeze
Laravel

Laravel Breeze Tutorial

Laravel breeze the starter kits you need to build your new application faster. Breeze offers the authentication for your app, automatically builds the controllers, views, and routes for registration, login, password reset, and email verification.

Read More
Laravel maintenance mode
Laravel

How to put Laravel app in maintenance mode

Sometimes, you don’t need your visitor to be on your website while maintaining it. Laravel has a magic feature called the maintenance mode.

Read More
laravel migration
Laravel

How to add a new column to an existing table via Laravel migration

Sometimes we need to add a new column or update an existing one to an existing table in the database after the migration. it’s so easy to do, we will add a new column and rename and change the data type of another one. let’s get started.

Read More
Laravel

Verification via OTP in Laravel, sending a one-time password

send your end-user 4 to 6 digits codes to verify their mobile number or verify an action such as resetting a password, log in via mobile

Read More
Sending email from different email addresses
Laravel

How to send email from different email addresses in Laravel

You can configure multiple emails in Laravel to send notifications from, let’s say you need to send welcome notification from no-reply@example.com and new order notification from orders@example.com, If that is what you want to do so this lesson is here for you.

Read More
Laravel
Laravel

How to force Laravel to generate HTTPS instead of HTTP for the route, URL, and asset functions.

Your website domain starts with ‘https://’ but when you generate a URL inside your Laravel application it starts with ‘http://’ and you find the browsers give you that your connection is not secure alert.

Read More