LaRecipe is a code-driven package created by Saleem Hadad that provides an easy way to create beautiful documentation for your product or application inside your Laravel app using Markdown.
To get started in your project, you need to install it via composer and run the setup command to publish the necessary assets and configuration:
php artisan larecipe:install
Out of the box, LaRecipe put’s your documentation at the
/docs URL, and you can version control your documentation alongside your application. The folder structure of a typical installation looks like this:
├─ config │ └─ larecipe.php └─ resources └─ docs │─ 1.0 │ │─ index.md │ └─ overview.md └─ 2.0 │─ index.md └─ overview.md
The above example would have routes to
/docs/2.0. You can customize the base route, path to the documentation files, and the landing page. For example, configuring the
landing configuration option to
overview would map to
You can also configure the default version, and control published versions of the documentation:
return [ 'versions' => [ 'default' => '1.0', 'published' => [ '1.0' ] ] ];
LaRecipe converts your markdown documents into HTML, with optional Vue component support. You can read about Vue component support in the documentation. Out of the box, it includes Vue components for Cards, Buttons, Badges, and Progress.
Filed in: Laravel Packages
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- In-house Laravel Developer.
Gold Coast / Australia
- Laravel Developer
Oak Brook, IL
- Senior Backend Engineer
Santa Monica only
- Senior Laravel Developer
- Senior Software Developer
South Jordan, UT
- Full-Stack Developer
Visual Studio Code Adds a GitHub Pull Request Extension
The Visual Studio Code team, in collaboration with GitHub, released a public preview of a new extension: GitHub Pull…
Laravel sponsor Tighten created novapackages.com to showcase Nova packages built by the Laravel community. The site i…