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

  • 12 lessons
  • 6466 words

This content is available only for premium members.

About this course

Create Laravel package

Creating a Laravel package may be a good option if you want to re-use some functionality in a few of your own projects, and also share that with the world, for other developers to benefit. For example, you've created a visual Permission Editor adminpanel as an extension of a well-known spatie/laravel-permission package.

Laravel package roles list

Laravel package roles create

How to turn it into a Laravel package for other projects/developers to use? This is exactly what I will show in this tutorial. By the end, I will actualy publish a real package, so it's not just a "hypothetical" scenario..

Comments from a few students of the course: