What’s the lighting for?

Asked

Viewed 1,324 times

2

Currently I have ventured into the framework laravel and in some cases I came across a command in the header of my files just below the namespace called illuminate.

For example:

use Illuminate\Database\Eloquent\Model;

I’d like to know exactly how this works illuminate? What good is it? How should I use it?

Already I appreciate the support.

  • 2

    I don’t understand the question. If you must know, Illuminate is Laravel’s "vendor namespace".

  • 2

    It’s a given name for a set of libs, just as Cakephp uses the "namespace vendor" Cake, basically Illuminate is the set of libs that make up the "core" of the https://github.com/laravel/framework/tree/5.6/src/Illuminate framework... briefly, Illuminate is a given name to identify all libs belonging to it. Don’t worry, it’s not conspiracy theory :)

1 answer

2

Illuminate is part of the logical path (namespace).

It is as if it were a "folder", however, the goal is to logically group the entities of the framework.

Specifically "Illuminate" otherwise I am mistaken is the maintainer of the.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.