1. Go to this page and download the library: Download lynkbyte/docs-builder library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lynkbyte / docs-builder example snippets
// config/docs-builder.php
'site_name' => 'My Documentation',
'site_description' => 'Documentation for my project',
// Directory containing your Markdown source files
'source_dir' => base_path('docs'),
// Where the built HTML is written
'output_dir' => public_path('docs'),
// OpenAPI YAML spec for API reference generation
'openapi_file' => base_path('docs/openapi.yaml'),
// URL path prefix for all generated links
'base_url' => '/docs',
// Auto-generated from openapi.yaml tags if left empty
'api_navigation' => [],
// Map OpenAPI tags to Material Symbols icon names
'api_tag_icons' => [
'Authentication' => 'lock',
'Users' => 'group',
'Bookings' => 'calendar_month',
// Unlisted tags fall back to 'api'
],
// Show a "Contact Support" link in the table of contents sidebar
'support_url' => 'mailto:[email protected]',
// Set to null to hide the support card entirely (default)
'support_url' => null,
`` |
| Heading anchors | Auto-generated from heading text |
### YAML Front Matter
Optionally add front matter to your Markdown files: