PHP Handling Session in Laravel 11

Snippet

November 2024

Handling Session in Laravel 11

Session is a parameter-passing mechanism that helps to store data across multiple requests.

PHP Speed Up Laravel 11: Eloquent Query Caching

Snippet

November 2024

Speed Up Laravel 11: Eloquent Query Caching

When your laravel application is slow, caching can be of the best way to gain performance.

PHP Access Laravel Pulse Data as a JSON API

Snippet

November 2024

Access Laravel Pulse Data as a JSON API

The Pulse API package by Roberto Gallea gives you all the data available in Laravel Pulse as a JSON API.

PHP Laravel 11 Upsert

Snippet

November 2024

Laravel 11 Upsert

upsert() method allows us to perform multiple “upserts” in a single query.

PHP Tips to Speed Up Your Laravel Websites

Snippet

November 2024

Tips to Speed Up Your Laravel Websites

Here are some of the techniques to speed up your Laravel websites and make them faster.

PHP Laravel 11 wrap() and unwrap()

Snippet

November 2024

Laravel 11 wrap() and unwrap()

wrap() method creates a new instance of collection from any value supplied. unwrap() is exact opposite of wrap() method.

PHP Email Validation using Laravel 11 DNS Validation

Snippet

November 2024

Email Validation using Laravel 11 DNS Validation

Most of the Laravel developers use the default email validation service provided by Laravel. And it does its job to some extent.

PHP Setup Daily Emails using Laravel 11

Snippet

November 2024

Setup Daily Emails using Laravel 11

In this tutorial, we will learn how to set up fully functional daily emails using Laravel and schedule to send emails daily.

PHP Laravel 11 Get ID of Inserted Model

Snippet

November 2024

Laravel 11 Get ID of Inserted Model

While developing a web app, you might need to get the ID of the last inserted data to assign to another model.