Laravel

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

session vs cookies vs localstorage
Laravel

Understanding Web Storage: Sessions, Cookies, and LocalStorage

When building web applications, it’s essential to manage user data effectively. Session, cookies, and LocalStorage offer different data storage and retrieval mechanisms. Let’s explore their key differences and when to use each

Read More
Laravel

How To Share Data With Multiple Views In Laravel 10.

Learn How to use Service Providers and View Composers of Laravel to share data with multiple views or specific views. Avoid repeating your code and write better clean maintainable code.

Read More
Service Providers & Dependency Injection In Laravel Explained With Examples.
Laravel

Service Providers & Dependency Injection In Laravel Explained With Examples.

In this tutorial, we will explain everything about Service Providers in Laravel and dependency injection,

Read More
how to send email in laravel 10
Laravel

How to Send Emails In Laravel 10 | Quick Guide

Laravel 10 comes with some changes in sending emails and writing mailable, here we will cover that with an example that can work with most cases like sending attachments.

Read More
Laravel zip file
Laravel

How To Make ZIP Files From Multiple Directories in Laravel

We will use ZipArchive to compress files in a specific directory and return the URL to the zip file with Subdirectories in storage to download via RESTful API.

Read More
Generate pdf files
Laravel

How to Generate PDF Files in Laravel That Support RTL Languages.

The easiest way to generate a PDF file in Laravel that can support Arabic and other RTL languages.

Read More
Laravel download From Url
Laravel

How to Download Files From URL In Laravel And Save them in the Storage.

In this tutorial, Let’s create Laravel storage to save files and images from URLs after renaming them using Laravel’s file system to make them unique.

Read More
Vue 3 With Laravel Echo WebSockets
Laravel Vue.js

Vue 3 With Laravel Echo WebSockets | Chat App 05

Let’s connect our Vue.js application with the server via WebSocket, we will use Laravel Echo for real-time updates and connection.

Read More
Laravel WebSockets Chat
Laravel

Laravel WebSockets Chat | Chat App 03

Let’s add real-time updates and notifications to our chat app using Laravel WebSockets, the Pusher-free alternative.

Read More
Laravel Chat API
Laravel

Laravel Chat RESTful API | Chat App 02

Let’s create our chat controller for getting chats and sending messages with validation rules.

Read More