In this streaming session, you can see me build up the package from scratch.
You can find the code seen in the stream in the spatie/laravel-remote repo on GitHub.
If you want to learn how to build PHP and Laravel packages, consider purchasing our Laravel Package Training video course.