Laravel 10 Middleware in 5 minutes Members Public

Middleware in Laravel is a powerful feature that allows you to filter incoming HTTP requests before they reach your application's routes. Middleware can be used to perform a wide range of tasks, such as authentication, authorization, input validation, and logging. Essentially, middleware acts as a middleman between your application's routes

Ashutosh Kukreti
Laravel

Understand Routing in Laravel 10 (Part-2) Members Public

This is in continuation of our previous post of Laravel Routes Part 1. Regular Expression in RoutesIn Laravel routes, you can use regular expression constraints to specify more complex matching patterns for your route parameters. Regular expression constraints are specified by adding a regular expression pattern inside curly braces {} after

Ashutosh Kukreti
Laravel

Understand Routing in Laravel 10 (Part-1) Members Public

In Laravel, routing refers to the process of defining the routes that your application will respond to. When a request is made to your application, Laravel's routing system determines which route matches the request and calls the corresponding controller method or closure to generate the response. Routes in Laravel can

Ashutosh Kukreti
Laravel

Laravel (10) working and Concepts in Details Members Public

As we already knew, Laravel is a web application framework that works on top of the PHP language. It provides a modular, flexible, and easily maintainable structure for building modern web applications. Here is how Laravel works: Routing: Laravel's routing system is responsible for handling incoming requests to the application.

Ashutosh Kukreti
Laravel

Laravel 10 Directory Structure in 2 minutes Members Public

A typical Laravel project structure will look like app/ Http/ Controllers/ Middleware/ Requests/ Providers/ bootstrap/ config/ database/ factories/ migrations/ seeds/ public/ resources/ assets/ js/ sass/ lang/ views/ routes/ storage/ app/ framework/ logs/ tests/ vendor/ .env artisan composer.json composer.lock package.json README.md Laravel follows a specific directory structure

Ashutosh Kukreti
Laravel

How to Install Laravel 10 using Laravel Sail Members Public

_____ / ____| | | __ __ _ _ __ ___ ___ ___ ___ | | |_ |/ _` | '_ ` _ \ / _ \/ __/ __| | |__| | (_| | | | | | | __/\__ \__ \ \_____|\__,_|_| |_| |_|\___||___/___/ You can install Laravel using Laravel Sail, a lightweight command-line interface for interacting with Laravel's default Docker development environment. Follow the steps below to install Laravel using Sail: Install Docker on your system. You can download Docker from the official website: https://www.docker.com/products/docker-desktopOpen a terminal

Ashutosh Kukreti
Laravel

How to install Laravel 10 Members Public

Why Laravel?Laravel is a popular open-source PHP web application framework that provides developers with a wide range of tools and features to help them build robust, scalable, and maintainable web applications. It was created by Taylor Otwell in 2011 and has since gained a large and active community of

Ashutosh Kukreti
Laravel

An Introduction to Docker Members Public

What is docker?Docker is an open-source platform that lets you execute complete applications and their surroundings in logical containers. On a single server, we can execute several Docker containers. Applications are segregated from one another. Docker makes use of OS-level virtualisation to run several Docker containers on a single

Ashutosh Kukreti
Docker