PHPackages                             xy2z/capro - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. xy2z/capro

ActiveLibrary[Templating &amp; Views](/categories/templating)

xy2z/capro
==========

Static site generator

1.0.0-alpha.37(5mo ago)101332[6 issues](https://github.com/xy2z/capro/issues)[1 PRs](https://github.com/xy2z/capro/pulls)MITPHPPHP 8.\*CI failing

Since Dec 10Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/xy2z/capro)[ Packagist](https://packagist.org/packages/xy2z/capro)[ Docs](https://capro.xy2z.io)[ GitHub Sponsors](https://github.com/sponsors/xy2z)[ RSS](/packages/xy2z-capro/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (25)Used By (0)

[![capro logo](./capro-logo.png)](./capro-logo.png)

Capro is a static-site generator for PHP 8+

---

[Quick Setup](#quick-setup) | [Documentation](https://capro.xy2z.io) | [Community](https://github.com/xy2z/capro/discussions) | [Sponsor](https://github.com/sponsors/xy2z)

 [![](https://camo.githubusercontent.com/c22811fb83790e8558b8184c1b9b60299bc2b687f6ea34c80eafccbf58125817/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7879327a2f636170726f3f7374796c653d666c61742d73717561726526696e636c7564655f70726572656c656173657326736f72743d73656d766572)](https://github.com/xy2z/capro/releases) [![](https://camo.githubusercontent.com/45ef070296bc7e0d7b9d12406257d053edcc12ca3f7eae7e948989c5c1e74b2a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7879327a2f636170726f3f7374796c653d666c61742d73717561726526636f6c6f723d626c7565)](https://github.com/xy2z/capro/blob/master/LICENSE) [![](https://camo.githubusercontent.com/7a37be6d56d468ebbdc76c6ea62a46fe8cfdc8915975ae4a8ce8d63ebc922933/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f7879327a2f636170726f3f7374796c653d666c61742d737175617265)](https://github.com/xy2z/capro/graphs/contributors) [![](https://camo.githubusercontent.com/524be0b4c2b61570c0cb1827f139cb06f8bfda33eaad5d0d27f1455bcc83d91a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7879327a2f636170726f2f68656c7025323077616e7465643f6c6162656c3d68656c7025323077616e746564253230697373756573267374796c653d666c61742d73717561726526636f6c6f723d663236323232)](https://github.com/xy2z/capro/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) [![](https://camo.githubusercontent.com/b02933d7f6fe8423f7a5d175a587c93c409b30805acd0e38f0437a4733a7dd7c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6d696c6573746f6e65732f70726f67726573732d70657263656e742f7879327a2f636170726f2f313f6c6162656c3d616c706861253230636f6d706c6574696f6e267374796c653d666c61742d737175617265)](https://github.com/xy2z/capro/milestone/1)

---

⚠ Notice
--------

[](#-notice)

Capro is currently in [alpha](https://github.com/xy2z/capro/issues/5), please report bugs via [GitHub Issues](https://github.com/xy2z/capro/issues)

About
-----

[](#about)

A PHP static-site generator, using Blade template engine.

Capro is currently in alpha, and is not thoroughly tested for production. Breaking changes might occur during the alpha phase.

Sponsors
--------

[](#sponsors)

Currently none. Sponsor here:

Requirements
------------

[](#requirements)

- PHP 8.0+
- [Composer](https://getcomposer.org/)

Quick Setup
-----------

[](#quick-setup)

First install the capro global package

```
composer global require xy2z/capro:@alpha
```

Now, you can create new sites using:

```
capro new demo
cd demo/public
php -S localhost:82
```

Head over to  to see your new static Capro site.

Learn more in the **[full documentation site](https://capro.xy2z.io).** (which was build in capro)

Contributing
------------

[](#contributing)

Pull Requests are welcome! Remember to send PR's to the `dev` branch - see more in the [Contributing Guide](CONTRIBUTING.md).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance65

Regular maintenance activity

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~168 days

Total

20

Last Release

152d ago

PHP version history (4 changes)1.0.0-alpha.19PHP 7.4 - 8.1

1.0.0-alpha.20PHP 7.4 - 8.2

1.0.0-alpha.26PHP 8.0 - 8.2

1.0.0-alpha.33PHP 8.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d4c08a97e1c9c53efb123c306f551fcb367e8adea3bfa1412c49c8e5133aeff?d=identicon)[xy2z](/maintainers/xy2z)

---

Top Contributors

[![xy2z](https://avatars.githubusercontent.com/u/4496997?v=4)](https://github.com/xy2z "xy2z (59 commits)")[![A-5ingh](https://avatars.githubusercontent.com/u/32884734?v=4)](https://github.com/A-5ingh "A-5ingh (1 commits)")[![klezaic](https://avatars.githubusercontent.com/u/11099842?v=4)](https://github.com/klezaic "klezaic (1 commits)")

---

Tags

hacktoberfestphpphp8ssgstatic-site-generatorbladestatic-site-generatorssg

### Embed Badge

![Health badge](/badges/xy2z-capro/health.svg)

```
[![Health](https://phpackages.com/badges/xy2z-capro/health.svg)](https://phpackages.com/packages/xy2z-capro)
```

###  Alternatives

[blade-ui-kit/blade-icons

A package to easily make use of icons in your Laravel Blade views.

2.5k34.2M309](/packages/blade-ui-kit-blade-icons)[blade-ui-kit/blade-heroicons

A package to easily make use of Heroicons in your Laravel Blade views.

64127.9M111](/packages/blade-ui-kit-blade-heroicons)[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8208.4M87](/packages/eftec-bladeone)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[outhebox/blade-flags

A package to easily make use of country &amp; language flags in your Laravel Blade views.

303723.7k6](/packages/outhebox-blade-flags)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
