fanamurov/larrock-category

Category component for larrockCMS


Keywords
laravel-5-package, larrock, larrockcms
License
CC-BY-4.0

Documentation

Laravel Larrock CMS :: Category Component


Depends

  • fanamurov/larrock-core

INSTALL

  1. Install larrock-category

    composer require fanamurov/larrock-category
  2. Add the ServiceProvider to the providers array in app/config/app.php

    //LARROCK COMPONENT Category DEPENDS
    \Larrock\ComponentCategory\LarrockComponentCategoryServiceProvider::class,

    aliases

    'Category' => \Larrock\ComponentCategory\Facades\LarrockCategory::class,
  3. Publish views, migrations etc.

$ php artisan vendor:publish

Or

$ php artisan vendor:publish --provider="Larrock\ComponentCategory\LarrockComponentCategoryServiceProvider"
  1. Run artisan command:
$ php artisan larrock:check

And follow the tips for setting third-party dependencies

  1. Run migrations
$ php artisan migrate

##START http://yousite/admin/category