New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

prezet/blog-template

Official blogging template for the Prezet markdown blogging engine
4,201 5
Install
composer require prezet/blog-template
Latest Version:v0.2.1
PHP:^8.2
Laravel:10 · 11 · 12
License:MIT
Last Updated:Oct 9, 2025
Links: GitHub  ·  Packagist
Maintainer: benbjurstrom

Official Blogging Template for Prezet

prezet-blog-light prezet-blog-dark

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status

This package provides a blogging-focused starting template for the Prezet Markdown Blogging Engine [1]. It sets up routes, controllers, views, CSS, and content structure suitable for a blog site.

The installer copies the necessary files into your Laravel application and then removes this package, leaving you with the template files to modify as needed.

Installation

  1. Require the package:

    composer require prezet/blog-template --dev
    

    (Note: We install as a dev dependency since the package removes itself after installation).

  2. Run the installer:

    php artisan blog-template:install
    

    This command will:

    • Copy routes, controllers, views, CSS, content stubs, and Vite configuration into your application.
    • Install required Node dependencies (tailwindcss, alpinejs, etc.).
    • Remove the prezet/blog-template package from your Composer dependencies.

Files Added/Modified

The blog-template:install command will add or modify the following files and directories within your Laravel application:

your-laravel-app/
├── app/
│   └── Http/
│       └── Controllers/
│           └── Prezet/     # Contains the index, show, image, ogimage, and search controllers
├── routes/
│   ├── prezet.php          # Route definitions for the above controllers
│   └── web.php             # Modified to include routes/prezet.php
├── resources/
│   ├── css/
│   │   └── prezet.css      # Contains the Tailwind v4 CSS
│   └── views/
│       ├── components/
│       │   └── prezet/     # A collection of Blade components used in the template
│       └── prezet/         # Page level Blade views for the index, show, and ogimage routes
├── prezet/                 # Example content containng markdown files and images
├── package.json            # Modified with added node dependencies
└── vite.config.js          # Overwrites existing vite.config.js. Be sure to check this file.

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

prezet/prezet

Prezet: Markdown Blogging for Laravel

39,524 311
prezet/docs-template

Official documentation template for the Prezet markdown blogging engine

16,321 3
livewire/flux

The official UI component library for Livewire.

13,124,657 978
infyomlabs/adminlte-templates

AdminLTE templates for InfyOm Laravel Generator

1,656,047 266
garygreen/pretty-routes

Pretty routes for Laravel 5+

1,419,357 650

Version History

Version Released PHP Laravel License
v0.2.1 ^8.2 ^10.0||^11.0||^12.0 MIT
v0.2.0 ^8.2 ^10.0||^11.0||^12.0 MIT
v0.1.0 ^8.2 ^10.0||^11.0||^12.0 MIT