hyvor / hyvor-blogs-laravel
For self-hosting a Hyvor Blogs blog on a Laravel application
0.0.3
2023-06-25 11:11 UTC
Requires
- guzzlehttp/guzzle: ^7.4
Requires (Dev)
- laravel/pint: ^1.1
- nunomaduro/larastan: ^2.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-25 21:28:29 UTC
README
This a Laravel package that provides a simple way to add a blog to your Laravel application using Hyvor Blogs blogging platform.
See the tutorial on our Blog. 👇
Adding a blog to your Laravel Application.
Installation
composer require hyvor/hyvor-blogs-laravel
Configuration
php artisan vendor:publish --provider="Hyvor\HyvorBlogs\HyvorBlogsServiceProvider" --tag="config"
This will create a hyvorblogs.php
file in your config
directory.
<?php return [ 'blogs' => [ [ 'subdomain' => '', 'delivery_api_key' => '', 'webhook_secret' => null, 'route' => '/blog', 'cache_store' => null, 'middleware' => [], ], ], ];