fanamurov/larrock-category

Category component for larrockCMS

v1.1.7 2018-06-19 06:00 UTC

This package is auto-updated.

Last update: 2024-10-14 16:18:44 UTC


README

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