An open API service indexing awesome lists of open source software.

https://github.com/sokeio/laravel


https://github.com/sokeio/laravel

laravel-package

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# Laravel Package Base

[![Latest Version on Packagist](https://img.shields.io/packagist/v/sokeio/laravel.svg?style=flat-square)](https://packagist.org/packages/sokeio/laravel)
[![Total Downloads](https://img.shields.io/packagist/dt/sokeio/laravel.svg?style=flat-square)](https://packagist.org/packages/sokeio/laravel)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

## Installation

You can install the package via composer:

```bash
composer require sokeio/laravel
```

```php
//
use Illuminate\Support\ServiceProvider;
use Sokeio\Laravel\ServicePackage;
use Sokeio\Laravel\Traits\WithServiceProvider;

class DemoServiceProvider extends ServiceProvider
{
use WithServiceProvider;

public function configurePackage(ServicePackage $package): void
{
/*
* This class is a Package Service Provider
*
*/
$package
->name('demo')
->hasConfigFile()
->hasViews()
->hasHelpers()
->hasAssets()
->hasTranslations()
->runsMigrations();
}
public function extending()
{
}
public function packageRegistered()
{
$this->extending();
}
}

```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Byte Asia](https://github.com/ByteAsia)
- [Sokeio](https://github.com/Sokeio)
- [Nguyen Van Hau](https://github.com/devhau)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.