Laravel

Laravel is PHP based framework that helps in building large and small scale web applications. Its first release came out in 2011 and the current version is 9.

How to Export Data in an Excel File in Laravel 9?

Patrick Brouwers created a well-reputed package that imports and exports data in the Laravel framework. It has 49.4 million downloads at the time of writing this article which proves it

How to Export Data in an Excel File in Laravel 9?

How to use Scoped filesystem driver in Laravel 9?

In the latest release of the Laravel framework (Laravel 9.30), Frank de Jonge added a scoped filesystem driver that helps to reuse the disk configurations.

How to use Scoped filesystem driver in Laravel 9?

How to install Laravel 9 with Vite?

A major change can be seen in Laravel version 9.19 which is Vite. The new build tool Vite is a replacement for the Laravel mix that compiles the bundles faster.

How to install Laravel 9 with Vite?

What is Carbon in Laravel and How to use it?

Carbon is a PHP-based package that deals with date and time. It has simplified how to get dates and times with the desired format.

What is Carbon in Laravel and How to use it?

What is Laravel Pint and How to Use it?

Pint is a Laravel package that fixes coding styles to make the code more readable for developers. It is a package that is included in Laravel 9.x.x and it is built on top of the PHP-CS-Fixer package.

What is Laravel Pint and How to Use it?

How to Create a Custom Blade Directive in Laravel 9?

In the Laravel framework, directives simply run predefined PHP code in the way in blade files. In this article we have learned to create conditional and helper directives.

How to Create a Custom Blade Directive in Laravel 9?

How to access PHP variables in JavaScript using Laravel?

To access PHP variables into JavaScript in Laravel, you will need to pass data from the controller to view and then access through double curly braces.

How to access PHP variables in JavaScript using Laravel?

Store JSON Format Data in Database using Laravel

Storing JSON formatted data into a database can save you from a lot of coding. But sometimes it adds difficulties to extend the feature. It can be good if you want to just save and show the data.

Store JSON Format Data in Database using Laravel

How to Create Migration in the Laravel Framework?

Migration allows to create, update, and delete tables through the PHP class-based code and command. Migration class has two methods which are up and down.

How to Create Migration in the Laravel Framework?

How to Print the Last Executed Query or Query Log in Laravel 9?

Backend developers often face issues in the queries which bring them for debugging. In Laravel, you can get the last executed query through the getQueryLog() method after enabling the query log.

How to Print the Last Executed Query or Query Log in Laravel 9?

How to deploy Laravel 9 on VPS Plesk?

Learn to deploy Laravel 9 applications on VPS (Virtual Private Server) Plesk. Deploying the Laravel application on the server looks challenging but in reality, it is easy.

How to deploy Laravel 9 on VPS Plesk?

Laravel 9 Redirect With Messages and Errors

In programming, we redirect class to class and also method to method based on data or conditions.

Laravel 9 Redirect With Messages and Errors

How to Add Form Validation in Laravel?

Laravel’s validator provides several rules that validate incoming data. These rules cover almost all data types and data formats for example integers, strings, float, email, etc.

How to Add Form Validation in Laravel?

How to use orWhere() clause in Laravel?

Laravel included eloquent that provides the orWhere() method that adds or where clauses into the query.

How to use orWhere() clause in Laravel?

How to install Laravel Framework on Windows using Xampp?

This article covers all steps to installing fresh Laravel application on windows. Before getting started make sure that a few software is installed and configured well.

How to install Laravel Framework on Windows using Xampp?

How to Create a Table Using Migration in Laravel?

In Laravel, the migration feature creates and edits tables. It has many functions that return code to create or edit table.

How to Create a Table Using Migration in Laravel?

How to Generate an App Key in Laravel?

Laravel framework keeps APP_KEY in the .env the file that is located in the root directory. It is a random string used to encrypt cookies, sessions, and CSRF tokens.

How to Generate an App Key in Laravel?

Get URL Segments in Controller and Blade using Laravel

In this article, we will learn to get URL segments in controller and blade using the Laravel framework.

Get URL Segments in Controller and Blade using Laravel

How to Pass Data to View in Laravel?

Learn how to pass data into view from the controller and then show it using HTML elements. This data comes from databases and APIs.

How to Pass Data to View in Laravel?

Upload File or Image on Laravel Through REST API

Learn how to create API that would upload files or images to Laravel. Also, it would validate, rename files and save them into the database.

Upload File or Image on Laravel Through REST API

Install and Use CKEditor 5 in Laravel 9

Learn to use CKEditor 5 in Laravel 9. It will also work with other Laravel versions. It has a user-friendly interface and excellent features.

Install and Use CKEditor 5 in Laravel 9

External API Call in Laravel with HTTP Client and Services

Learn how to make external API calls with laravel’s HTTP client using the service. Service helps to keep the code organized and readable.

External API Call in Laravel with HTTP Client and Services