How to develop a simple Laravel package locally



In this 15 minute video, I’ll show you how I developed a simple Laravel wrapper package that makes calls to an external API.

Directly support these videos: https://www.patreon.com/aschmelyun

You’ll learn how to:

– Structure a basic Laravel package
– Set up a service provider and associated class
– Install the package locally to a Laravel app with composer
– Create a config file to store user-defined values

Docker-compose script for setting up a fast, local Laravel environment: https://github.com/aschmelyun/docker-compose-laravel

Guzzle documentation: http://docs.guzzlephp.org/en/stable/

Quickmetrics documentation: https://app.quickmetrics.io/docs

Follow me on Twitter! https://twitter.com/aschmelyun

source

Reply


Build A Site Info