Download the PHP package benbjurstrom/prezet without Composer
On this page you can find all versions of the php package benbjurstrom/prezet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download benbjurstrom/prezet
More information about benbjurstrom/prezet
Files in benbjurstrom/prezet
Package prezet
Short Description Prezet: Markdown Blogging for Laravel
License MIT
Homepage https://github.com/benbjurstrom/prezet
Informations about the package prezet
Prezet: Markdown Blogging for Laravel
Go from markdown files to SEO-friendly blogs, articles, and documentation in seconds!
https://github.com/benbjurstrom/prezet/assets/12499093/771efccc-6ac3-414a-a852-62ce66e87f57
Table of contents
🌟 Features
✅ Installs in seconds
Set up your project with a single command.
✅ Automatic Image Optimization
Automated image compression, scaling, and responsive srcset handling.
✅ SQLite Index
Indexes your markdown files to support search, pagination, sorting, and filtering.
✅ Validated Front Matter
Cast front matter into validated DTOs for consistency across your content.
✅ Open Graph (OG) images
Generate OG images from front matter using a customizable template.
✅ Dynamic Table of Contents
Automatically generate a nested, scroll-synced TOC from your article's headings.
✅ 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 to allow full customization of your routes, front matter, and blade templates.
🚀 Quick start
Install the Prezet package:
Run the package installer:
⚠️ NOTE: Before running the installer on an existing application it is recommended to switch to a clean branch so you can see the changes Prezet made during the installation process.
Update the index:
After adding or modifying your markdown files, you need to update the index to reflect these changes:
This command updates the SQLite index with the latest front matter information from your markdown files. Run this command whenever you:
- Add a new markdown file
- Change a markdown file's slug
- Modify front matter and want to see those changes reflected on the index page
Note that changes to the main content of your markdown files don't require updating the index, as this content is read directly from the file when displaying a single post.
Start your server:
Check out your new markdown blog at http://localhost:8000/prezet
Documentation
Detailed documentation available at prezet.com
Credits
- Ben Bjurstrom
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of prezet with dependencies
ext-dom Version *
ext-gd Version *
archtechx/laravel-seo Version ^0.10.1
benbjurstrom/laravel-sitemap-lite Version ^7.3
illuminate/contracts Version ^10.0||^11.0
league/commonmark Version ^2.4
spatie/laravel-package-tools Version ^1.16
symfony/yaml Version ^6.2|^7.1
wendelladriel/laravel-validated-dto Version ^3.5