Courses

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

Dependencies: Require External Packages

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...

The full lesson is only for Premium Members.
Want to access all 12 lessons of this course? (33 min read)

You also get:

  • 74 courses
  • Premium tutorials
  • Access to repositories
  • Private Discord