Group Middleware – Implement in stand alone php scripts
Group middleware is a way to bundle multiple middleware under one group name, so you don’t have to manually list every single middleware for every route.
Group middleware is a way to bundle multiple middleware under one group name, so you don’t have to manually list every single middleware for every route.
Middlewares are filters for HTTP requests. It filters the request using it’s parameters and redirect to different routes. If all filters passes then call the final controller.
Here’s a complete guide to create a minimal MVC structure using Illuminate components (routing, database, support, etc.) and display user data from a users table.
As PHP developers, we often find ourselves testing small snippets of code, inspecting variables, or debugging issues directly from the terminal. In a Laravel project, we can use Tinker to…
If you’re a PHP developer, you’ve probably heard about Laravel. But did you know that you can use some of the coolest parts of Laravel in your plain PHP projects?
If you’ve worked with Laravel, you’re probably familiar with its templating engine, Blade, which is used for rendering views. However, you don’t need to use Laravel in its entirety to…
If you’ve used Laravel before, you’re probably familiar with the pagination feature. Pagination in Laravel helps you divide a large amount of data into smaller, manageable chunks (pages) to display…
If you’ve ever worked with Laravel, you’re probably familiar with its built-in validation system. It’s powerful, flexible, and allows you to easily validate data like form submissions. But what if…
A container is like a smart assistant or factory that knows how to build and provide anything your app needs—without you doing all the setup manually.
When I started exploring Laravel, I quickly realized that it comes with a lot of powerful features — models, database queries, facades, validation, routing, and so on.