eyupinann/quote

A simple quote world composer package

dev-main 2022-09-24 16:57 UTC

This package is auto-updated.

Last update: 2024-04-24 20:16:09 UTC


README

This package content is developed to set content by page

Installation

Use the package manager package to install foobar.

composer require eyupinann/quote

We add this code to the providers part in config/app.php so we import the providers part of our package

eyupinann\Quote\BlogPackageServiceProvider::class

We run our provider file with this command. Our migration and view files are created

php artisan vendor:publish --provider="eyupinann\Quote\BlogPackageServiceProvider" --tag="page"
php artisan migrate

Usage

Using this function, we send the page name and content to the relevant function and return it.

use eyupinann\Quote\Index;

public function App(Index $index) {
  return $index->page('About','info@google.com');
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT