Introduction
Welcome to OI Laravel Documentation
OI Laravel Documentation
OI Laravel Documentation is a comprehensive package for managing markdown-based documentation sites within your Laravel application. It provides everything you need to create beautiful, searchable documentation with minimal configuration.
What You Get
Markdown-Based Content
Write your documentation in clean, readable markdown. The package automatically discovers and organizes your documentation files based on the directory structure.
Hierarchical Navigation
Navigation is auto-generated from your file structure and meta.json files. No manual configuration neededβjust organize your files and let the package handle the rest.
Full-Text Search
Built-in full-text search with relevance scoring allows your users to quickly find the information they need. Search scores are based on title matches, descriptions, headings, and content.
React & Inertia.js Components
Pre-built React components using ShadCN UI provide a beautiful, modern interface out of the box. All components are fully customizable since they're published to your project.
Syntax Highlighting
Code blocks automatically get syntax highlighting via Shiki, supporting all major programming languages including PHP, TypeScript, JavaScript, Bash, JSON, and more.
Table of Contents
Automatic table of contents generation for each page, making it easy for users to navigate long documents.
Previous & Next Navigation
Each page automatically includes links to the previous and next pages in the navigation tree, improving readability flow.
Requirements
To use OI Laravel Documentation, you'll need:
- PHP 8.3 or higher
- Laravel 11 or higher
- Inertia.js (for the frontend)
Quick Start
Ready to get started? Head over to the Installation guide to set up the package in your Laravel application.
Features at a Glance
- π Zero-configuration markdown documentation
- π§ Auto-generated hierarchical navigation
- π Full-text search with relevance scoring
- βοΈ React components with ShadCN UI
- π¨ Syntax highlighting with Shiki
- π± Responsive design with Tailwind CSS
- π Configurable access control
- π― SEO-friendly URLs and metadata
- π¦ Package documentation import system
- π Easy customization and theming