How to Create Laravel Package: Step-by-Step Example

Now, as we know how Controllers/Views/Routes work, we can get back to the original initial code of the permission editor application, and copy-paste it all into the package folder, just changing the namespaces.

For example, our full RoleController will look like this...

This lesson is only for Premium Members.
Want to access all lessons of this course?

You also get:

  • 59 courses (1057 lessons, 42 h 44 min total)
  • Premium tutorials
  • Access to repositories
  • Private Discord