LaravelPackages.net
Acme Inc.
Toggle sidebar
diviky/laravel-readme

Framework extension

7.161
0
v2.0.15
About diviky/laravel-readme

diviky/laravel-readme is a Laravel package for framework extension. It currently has 0 GitHub stars and 7.161 downloads on Packagist (latest version v2.0.15). Install it with composer require diviky/laravel-readme. Discover more Laravel packages by diviky or browse all Laravel packages to compare alternatives.

Last updated

An extension to documentation generator

    php artisan vendor:publish --provider="Diviky\Readme\ReadmeServiceProvider" --tag="config"

Add to your route config

Route::group(['middleware' => ['web']], function () {
    Route::get('docs/{version?}/{page?}', '\Diviky\Readme\Http\Controllers\Docs\Controller@index');
});

Replace variables

You can use the Laravel blade syntax inside markdown files to replace the variables and render conditions.

Variables wrapped between ## will be replaced with their corresponding values. ex: ##version## or ##domain##

License

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

Comments