Laravel Package Tools is a package by  Spatie that provides an opinionated base service provider you can use to streamline the registration of your package’s config files, migrations, commands, and more.

Here’s how to simplify service providers in @laravelphp packages__

_Spoiler: I released a package for that _ #php #laravel

_— Freek Van der Herten (@freekmurze) _January 25, 2021

I think you’ll agree that this package can streamline common use-cases found in package service providers:

use Spatie\LaravelPackageTools\PackageServiceProvider;
use Spatie\LaravelPackageTools\Package;

#news #packages

Simplifying Service Providers With Laravel Package Tools
1.40 GEEK