So you want to create your own package? Surprisingly, this topic has little information online and not properly described in the official docs. Let’s fill in the gaps and create a new Laravel 5 package from scratch.

To avoid a general Hello world example, let’s take a more practical idea: say… a package which shows current time in various timezones. Still very simple, but somewhat useful. Ok, here we go.