diviky/laravel-readme

Framework extension

Maintainers

Package info

github.com/diviky/laravel-readme

Homepage

pkg:composer/diviky/laravel-readme

Transparency log

Statistics

Installs: 7 161

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.15 2026-07-23 15:29 UTC

README

    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.