Transform your markdown files into SEO-friendly blogs, articles, and documentation with Prezet. Including built in automatic image optimization, dynamic tables of contents, validated front matter DTOs, and integrated Blade components.
- Installs in seconds: Set up your project with a single command.
- Automatic Image Optimization: Streamline your media with automated compression, WebP conversion, and responsive srcset handling.
- Dynamic Table of Contents: Automatically generate a nested, scroll-synced TOC from your article's H2 and H3 headings.
- Validated Frontmatter: Validate and cast frontmatter data into structured DTOs for consistency across your content.
- SUMMARY.md Support: Organize your blog level hierarchy with simple headings and links.
- Configurable Markdown: Tailor CommonMark extensions, route settings, and front matter DTOs through the package's configuration file.
- SEO Optimization: Automatically generate meta tags based on front matter data for better search engine discoverability.
- Blade Components: Include Laravel Blade components in your markdown for enriched, interactive content.
- Complete Customization: Prezet is built on top of modular action classes allowing you full customization of the package's built in controllers.
composer create-project laravel/laravel prezet
cd prezet
git init && git add . && git commit -m "Initial commit"
composer require benbjurstrom/prezet
php artisan prezet:install
php artisan serve
Check out your new markdown blog at http://localhost:8000/prezet
Access detailed documentation at prezet.com
The MIT License (MIT). Please see License File for more information.