2017 © Pedro Peláez
 

library laravel-cms-wiki-module

Laravel CMS: Wiki

image

czim/laravel-cms-wiki-module

Laravel CMS: Wiki

  • Sunday, June 25, 2017
  • by czim
  • Repository
  • 1 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CMS for Laravel - Wiki Documentation Module

Simple wiki for the CMS., (*1)

This module adds a wiki that may be browsed and maintained by CMS users., (*2)

Its recommended use is to provide in-application documentation about the CMS. For example: editors can browse the wiki to read about custom CMS functionality; administrators can maintain the wiki contents., (*3)

To be used to with the Laravel CMS Core., (*4)

This package is compatible and tested with Laravel 5.3 and 5.4., (*5)

Installation

Add the module class to your cms-modules.php configuration file:, (*6)

``` php 'modules' => [ // ... Czim\CmsWikiModule\Modules\WikiModule::class, ],, (*7)


Add the service provider to your `cms-modules.php` configuration file: ``` php 'providers' => [ // ... Czim\CmsWikiModule\Providers\CmsWikiModuleServiceProvider::class, // ... ],

To publish the config and migration:, (*8)

``` bash php artisan vendor:publish, (*9)


Run the CMS migration: ```bash php artisan cms:migrate

Usage

The wiki will automatically be present in your menu, with a link to the home page., (*10)

Security

As with any module, only authenticated CMS users can access its routes., (*11)

Additionally a non-admin user must have the following permissions:, (*12)

Permission key Description
wiki.page.create Create new wiki pages
wiki.page.edit Edit existing wiki pages
wiki.page.delete Delete wiki pages

Or simply set wiki.page.* for all of the above., (*13)

Contributing

Please see CONTRIBUTING for details., (*14)

Credits

License

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

The Versions