Skip to content

georanma/my-first-laravel-package

Repository files navigation

My first laravel package

Latest Version on Packagist GitHub Tests Action Status Total Downloads

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:

composer require spatie/package-my-first-laravel-package-laravel

You can publish and run the migrations with:

php artisan vendor:publish --provider="Georanma\MyFirstLaravelPackage\MyFirstLaravelPackageServiceProvider" --tag="migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="Georanma\MyFirstLaravelPackage\MyFirstLaravelPackageServiceProvider" --tag="config"

This is the contents of the published config file:

return [
];

Usage

$my-first-laravel-package = new Georanma\MyFirstLaravelPackage();
echo $my-first-laravel-package->echoPhrase('Hello, Georanma!');

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email freek@spatie.be instead of using the issue tracker.

Credits

License

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

About

My first laravel package

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages