PHPackages                             pjpawel/magis - 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. pjpawel/magis

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

pjpawel/magis
=============

PHP templates engine

v0.2.0(3y ago)041[2 PRs](https://github.com/pjpawel/Magis/pulls)1Apache-2.0PHPPHP &gt;=8.1

Since Nov 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pjpawel/Magis)[ Packagist](https://packagist.org/packages/pjpawel/magis)[ RSS](/packages/pjpawel-magis/feed)WikiDiscussions dev Synced today

READMEChangelog (3)Dependencies (2)Versions (7)Used By (1)

Magis
=====

[](#magis)

### *Services for symfony bundle for php templates rendering*

[](#services-for-symfony-bundle-for-php-templates-rendering)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9f56a87aeaa9c718d6a4ae37933e1459d8e349c67610ccaf895d29753c9e6246/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706a706177656c2f6d616769732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pjpawel/magis)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9bd041d81e040ab6c569b5f7be9a9c217e635b8b45fe5bdcfb3d4b86a060ed34/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706a706177656c2f4d616769732f6261646765732f7175616c6974792d73636f72652e706e673f623d646576)](https://scrutinizer-ci.com/g/pjpawel/Magis/?branch=dev)[![PHPStanLevel](https://camo.githubusercontent.com/b986357b7431b8110121b3b3a37f410c7d26f8c757119b539cd91873e6d7eaa9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d686967686573742532306c6576656c2d627269676874677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/b986357b7431b8110121b3b3a37f410c7d26f8c757119b539cd91873e6d7eaa9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d686967686573742532306c6576656c2d627269676874677265656e2e7376673f7374796c653d666c6174)

Why Magis?
----------

[](#why-magis)

### - It's incredible fast!

[](#--its-incredible-fast)

### - It's easy to understand!

[](#--its-easy-to-understand)

### - It can implement all services you need!

[](#--it-can-implement-all-services-you-need)

Install
-------

[](#install)

If you want to install Magis as symfony bundle you should use [MagisBundle](https://github.com/pjpawel/MagisBundle)

```
composer require pjpawel/magis-bundle

```

If you want raw view service and view classes use (this repository)

```
composer require pjpawel/magis

```

Library classes
---------------

[](#library-classes)

```
\pjpawel\Magis\ViewDispatcherService::class // service to dependency injection
\pjpawel\Magis\View\DirectView::class // simple view class that has method render() to ... render template :)
\pjpawel\Magis\View\MagicView::class // rich view class
```

Usage
-----

[](#usage)

You should use `ViewDispatcherService` as dependency injection service. You can create custom service to render view or use create Views directly.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~16 days

Total

3

Last Release

1288d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56eb6b51a9ce4750a94edfd28318c4e306113d8b37f1a6a6d7f8ebbd28969098?d=identicon)[pjpawel](/maintainers/pjpawel)

---

Top Contributors

[![pjpawel](https://avatars.githubusercontent.com/u/4069624?v=4)](https://github.com/pjpawel "pjpawel (48 commits)")

---

Tags

phpsymfonytemplatetemplate-enginetemplates

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pjpawel-magis/health.svg)

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

###  Alternatives

[league/plates

Plates, the native PHP template system that's fast, easy to use and easy to extend.

1.5k6.2M268](/packages/league-plates)[laminas/laminas-view

Fast and type safe HTML templating library with a flexible plugin system supporting multistep template composition

7528.4M266](/packages/laminas-laminas-view)[infyomlabs/adminlte-templates

AdminLTE templates for InfyOm Laravel Generator

2661.6M7](/packages/infyomlabs-adminlte-templates)[maiconpinto/cakephp-adminlte-theme

CakePHP 4.x AdminLTE Theme.

172164.5k7](/packages/maiconpinto-cakephp-adminlte-theme)[gamajo/template-loader

A class for your WordPress plugin, to allow loading template parts with fallback through the child theme &gt; parent theme &gt; plugin

29849.6k5](/packages/gamajo-template-loader)[foil/foil

PHP template engine for native PHP templates

170112.7k10](/packages/foil-foil)

PHPackages © 2026

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