<?php

namespace IvanSotelo\\{{ pascalCaseSigular }};

use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use IvanSotelo\\{{ pascalCaseSigular }}\Commands\\{{ pascalCaseSigular }}Command;

class {{ pascalCaseSigular }}ServiceProvider extends PackageServiceProvider
{
    public function configurePackage(Package $package): void
    {
        /*
         * This class is a Package Service Provider
         *
         * More info: https://github.com/spatie/laravel-package-tools
         */
        $package
            ->name('{{ name }}')
            ->hasConfigFile()
            ->hasViews()
            ->hasMigration('create_{{ name }}_table')
            ->hasCommand({{ pascalCaseSigular }}Command::class);
    }
}
