creativehandles/blog-posts


README

Latest Version on Packagist Total Downloads GitHub Actions

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Installation

You can install the package via composer:

composer require creativehandles/blog-posts

Usage

Publish required files (migrations,routes,views etc) to CORE CMS

php artisan vendor:publish --provider="Creativehandles\BlogPosts\BlogPostsServiceProvider"

Add following environment variable. This is a global variable for all packages.Recommends to have it in CORE-CMS. DO NOT CHANGE

MEDIABLE_DISK=mediable

Migrate database tables

php artisan migrate

Config file

    "api" => [
        'route_prefix' => 'api/v1/',
        'middleware' => ['api']
    ],
    "web" => [
        'route_prefix' => 'plugins/',
        'middleware' => ['web']
    ],


    "IndexRoute" => "admin.posts.index",
    "CreateRoute" => "admin.posts.create",
    "EditRoute" => "admin.posts.edit",
    "DeleteRoute" => "admin.posts.delete",

    "resourceName" => "posts",

    "StoreRoute" => "admin.posts.store",
    "UpdateRoute" => "admin.posts.update",
    "DestroyRoute" => "admin.posts.destroy",
    "GridRoute" => "admin.posts.grid",

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email deemantha@creativehandles.com instead of using the issue tracker.

Credits

License

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

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.