PHPackages                             corviz/crow - 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. corviz/crow

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

corviz/crow
===========

Php template engine

v2.1.1(1y ago)6492[4 issues](https://github.com/Corviz/crow/issues)[1 PRs](https://github.com/Corviz/crow/pulls)MITPHPPHP &gt;=8

Since May 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Corviz/crow)[ Packagist](https://packagist.org/packages/corviz/crow)[ RSS](/packages/corviz-crow/feed)WikiDiscussions main Synced 1mo ago

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

Crow template engine
====================

[](#crow-template-engine)

Yet another php template engine

Features:

- Easily extensible - You can create new methods to satisfy your needs
- Wide spread syntax (similar to Blade)
- Framework agnostic - You can use it in any project
- Easy to configure - It takes literally 2 commands to make a basic configuration (1 if you won't use components/custom tags)
- MIT license. Free for commercial and non-commercial use

Installation with composer
--------------------------

[](#installation-with-composer)

```
composer require corviz/crow

```

Quickstart
----------

[](#quickstart)

In your main script:

```
use Corviz\Crow\Crow;

Crow::setDefaultPath('/path/to/templates/folder');
Crow::setComponentsNamespace('MyComponents'); //Required only if you will use components/custom tags

Crow::render('index');
```

In /path/to/templates/folder/index.crow.php:

```
>

        Index

        {{ 'Hello world' }}

```

Basic loop example
------------------

[](#basic-loop-example)

In your main script:

```
$todoList = ['Work', 'Clean house', 'Relax'];

Crow::render('template', ['todoList' => $todoList]);
```

Template file

```
Todo:

    @foreach($todoList as $task)
        {{ $task }}
    @endforeach

```

Credits
-------

[](#credits)

- Carlos A. B. Carucce - Development ([Github Profile](https://github.com/carloscarucce))
- Wiktor Stribiżew - Special thanks for the support with most regexes used in this project ([Stackoverflow](https://stackoverflow.com/users/3832970/wiktor-stribi%c5%bcew) / [YT Channel](https://www.youtube.com/channel/UCFeq5T-LNtqpVrn_rcJ9hFw))

Like it?
--------

[](#like-it)

Visit  for documentation/examples

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.6% 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 ~106 days

Recently: every ~131 days

Total

10

Last Release

489d ago

Major Versions

v1.0.5 → v2.02023-08-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5069326?v=4)[Carlos Alberto Bertholdo Carucce](/maintainers/carloscarucce)[@carloscarucce](https://github.com/carloscarucce)

---

Top Contributors

[![carloscarucce](https://avatars.githubusercontent.com/u/5069326?v=4)](https://github.com/carloscarucce "carloscarucce (70 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

phpphp8template-engine

### Embed Badge

![Health badge](/badges/corviz-crow/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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