ryanwinchester / kwiki-laravel
Quick wiki or blog with markdown files for laravel
Requires
- php: >=5.5.9
- illuminate/routing: 5.1.*
- illuminate/support: 5.1.*
- ryanwinchester/pagemark: ^0.5
Requires (Dev)
- phpspec/phpspec: ~2.1
This package is auto-updated.
Last update: 2024-10-28 23:51:32 UTC
README
WORK IN PROGRESS, DO NOT USE RIGHT NOW
markdown wiki/blog
Usage
Place your markdown files in the /kwiki
directory.
Categories are directories and subcategories are subdirectories.
If you place an index.md
in a category or subcategory directory, it will be parsed and displayed after the list of
subcategories and files.
The views are blade templates and located at resources/views/vendor/kwiki
and the master layout template is
resources/views/vendor/kwiki/master.blade.php
Installation
Using composer:
composer require "ryanwinchester/kwiki: ^0.1"
Publishing config and other assets
There is a good chance you wil want to override some default things. If that is the case there are a couple of way you can go about it. First, you could publish all the things:
php artisan vendor:publish --provider="Kwiki\KwikiServiceProvider" --force
Or you could publish things individually:
Config:
php artisan vendor:publish --provider="Kwiki\KwikiServiceProvider" --tag="config" --force
Views:
php artisan vendor:publish --provider="Kwiki\KwikiServiceProvider" --tag="views" --force
Public assets:
php artisan vendor:publish --provider="Kwiki\KwikiServiceProvider" --tag="public" --force
Translations:
php artisan vendor:publish --provider="Kwiki\KwikiServiceProvider" --tag="translations" --force