ErickZH / first-package

My first laravel package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My first laravel package

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Installation

You can install the package via composer:

composer require erickzh/first-package

You can publish and run the migrations with:

php artisan vendor:publish --provider="Erickzh\FirstPackage\FirstPackageServiceProvider" --tag="migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="Erickzh\FirstPackage\FirstPackageServiceProvider" --tag="config"

This is the contents of the published config file:

return [
];

Usage

$first-package = new Erickzh\FirstPackage();
echo $first-package->echoPhrase('Hello, Erickzh!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

About

My first laravel package

License:MIT License


Languages

Language:PHP 100.0%