laravel-package maintained by kda
laravel-package
Introduction
This Laravel package provides a set of traits and functionalities to streamline the development of Laravel packages. It includes features for handling routes, migrations, views, assets, and more.
Installation
To install the package, use Composer:
composer require kda/laravel-package
Basic usage
The base purpose of this package is to separate the package configuration from the ServiceProvider.
First you have to create a package class
<?php
namespace KDA\Laravel\Pinnable;
use KDA\Laravel\Package\Package as KDAPackage;
class Package extends KDAPackage
{
protected static string $package_name = 'laravel-pinnable';
protected function setUp(): void
{
}
public function boot()
{
parent::boot();
}
}