Capro is a static site generator for PHP 8+. It’s currently in an alpha stage of development.
It uses the Blade template engine.
This is free and open source software.
Key Features
- Blade template engine (known from Laravel).
- Use as many Blade sections as you want in your views.
- Collections (e.g. blog posts, news, etc.) – without any configuration needed.
- Add YAML Front Matter to your views.
- API & View Templates – fill a template with data from an API, and turn it into pages e.g. for retrieving blog posts from a headless CMS.
- No default NPM/JavaScript files added.
- Supports custom directory names.
- Markdown support (might still have a few bugs during alpha).
- Capro class to fetch and filter all views (pages, collections and ViewTemplates).
- Released as a scoped phar file, so it should not contain any dependency problems.
Website: github.com/xy2z/capro
Support:
Developer: Alexander Pedersen
License: MIT License
Capro is written in PHP. Learn PHP with our recommended free books and free tutorials.
Related Software
| PHP Static Site Generators | |
|---|---|
| HydePHP | Content-first Laravel-powered static site generator |
| Jigsaw | Framework for rapidly building static sites |
| Spress | Blog-aware application that transform your plain text files in static sites |
| Sculpin | Can be used to create any type of static website |
| Cecil | Simple and powerful content-driven static site generator |
| Couscous | Turns Markdown documentation into beautiful websites |
| Ata’s SSG | Static site generator for GitHub pages. |
| WP2Static | WordPress plugin for static site generation and deployment |
| Capro | Uses the Blade template engine |
| StaticForge | Processes Markdown and HTML content files through an event-driven pipeline |
| Crossroads | Builds static websites from Markdown-based content with front matter metadata |
| PHPSSG | Personal Home Page Static Site Generator |
| Basildon | Builds sites from text content files with YAML frontmatter and body conten |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

