PHPackages                             idlesign/dja - 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. idlesign/dja

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

idlesign/dja
============

Django template engine ported to PHP

1141[1 PRs](https://github.com/idlesign/dja/pulls)PHP

Since Aug 11Pushed 11y ago1 watchersCompare

[ Source](https://github.com/idlesign/dja)[ Packagist](https://packagist.org/packages/idlesign/dja)[ RSS](/packages/idlesign-dja/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

dja
===

[](#dja)

**ALPHA stage project. Interfaces might be changed at any moment. Use with care.**

What's that
-----------

[](#whats-that)

*Dja is a bit of Django framework, namely its template engine, ported to PHP.*

The primary aim of the project is a full-featured and as close to the original code as possible port of Django's template engine, thus introducing this pragmatic template system to PHP developers.

Yet another goal of dja is to make a land for smooth transitions between frameworks in different programming languages, without a need for template rewrites. And, yes, template designers would be grateful and happy too.

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

[](#requirements)

1. PHP 5.3
2. PHPUnit (to be able to run unit tests)

Documentation
-------------

[](#documentation)

Available online from

Philosophy
----------

[](#philosophy)

Dja is from Python pragmatic world, it won't bother some PHP rules. It is not as if it is an impolite guest - it tries to be respectful whereever it doesn't go in confront with dja's inner dja. It operates upon the necessary and sufficient principle. It is wilful, so you can leave anytime you feel you had enough. And that's just how dja goes.

Beware stranger: dja doesn't give a damn for your fancy patterns urge; dja doesn't like ugly namespace notations; dja spits on setters and getters; dja is worse than the Jabberwocky.

So welcome, or goodby, stranger.

Cheers!
-------

[](#cheers)

To all the guys from Django team. Without your code there won't be any dja. You are great! Thank you!

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/effa592876b1f9bc8d8c41df17c598c2b14157d84d2c4ce0c31bd17b20c078f9?d=identicon)[idlesign](/maintainers/idlesign)

---

Top Contributors

[![idlesign](https://avatars.githubusercontent.com/u/145644?v=4)](https://github.com/idlesign "idlesign (66 commits)")[![CamaroSS](https://avatars.githubusercontent.com/u/2315653?v=4)](https://github.com/CamaroSS "CamaroSS (2 commits)")

---

Tags

djangophpporttemplate-languagetemplatesyii

### Embed Badge

![Health badge](/badges/idlesign-dja/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

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