What is Namespace in Laravel?

There is a big role of namespace in laravel. In laravel namespace is used in php file.The modal indicates that your file is inside the folder. It is mostly used in the file, the controller’s file. You can see the syntex which is below it.

<? php
namespace app;

In this model you will get

<? php
namespace app\http\controllers;

You will find this in the Controller.