PHPackages                             hotelmah/modelixe - 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. hotelmah/modelixe

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

hotelmah/modelixe
=================

ModeliXe v2 is a light-weight PHP template library that was originally used in 2001 for a vintage web-based guestbook. The library originated in France. This new version 2 works in PHP 8 and can be used for experimenting, personal small projects, or upgrading.

v2.0.3(1y ago)0251GPL-3.0-onlyPHPPHP &gt;=7.0.0

Since Dec 1Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (4)Used By (1)

About
-----

[](#about)

ModeliXe v2 is a light-weight PHP template library that was originally used in 2001 for a guestbook. The template engine and guestbook application originated in France. This new version 2 works in PHP 8 and can be used for experimenting, personal small projects, or further upgrading. I wanted to resurrect my old guestbook. Thus, I put some time into repairing this ModeliXe template engine.

ModeliXe v1 was the templating engine featured in a vintage web-based guestbook named [@lexGuestbook](https://www.alexguestbook.net/). Their website is still up and running. You can download the original code from their website located at this link: [@lexGuestbook Original Code Download](https://www.alexguestbook.net/livre-dor-gratuit-en-php/).

Directories and Files Not Included in Packagist Package
-------------------------------------------------------

[](#directories-and-files-not-included-in-packagist-package)

- CSS/
- Templates/
- .gitattributes
- Quad-Template-Test-1.php
- Table-Template-Test-1.php

Test Files
----------

[](#test-files)

- *Quad-Template-Test-1.php*
- *Table-Template-Test-1.php*
- These test files demonstrate how the library works.

Library Features
----------------

[](#library-features)

- HTML Template Variable syntax:

```
{text id="Title"}
```

- HTML Bloc Template Variable syntax:

```

    {start id="BlocTop"}

    {end id="BlocTop"}

```

- Using the Bloc feature, you can append, delete, replace, loop, and modify blocks of HTML.
- The modify option allows you to load another template reference into the HTML document.
- The Bloc feature also allows you to loop a template reference.
- For example, you can read dynamic data from a database, and render it using this library (for experimental purposes).
- See the Table Template Test 1 sample file for an illustration.

Installation - Composer
-----------------------

[](#installation---composer)

- run this command in your project root:

`composer require hotelmah/modelixe`

- There is no need to manually create/update a composer.json file in your project root since this command does it automatically.
- The package is listed on Packagist, but is hosted on GitHub where the source is pulled from.

Installation - Manual
---------------------

[](#installation---manual)

- Copy the src directory contents to an appropriately named directory like includes/ in your LAMP web hosting provider.
- Refer to the 2x test files above.

Notes
-----

[](#notes)

- There is no further documentation for this library.
- The samples are not included in the Packagist package.
- The samples serve as the tool to learn how to use the library.
- Included in the samples are how to create a form select drop-down control.
- There are additional features of the library to be discovered by browsing the code.
- For example, the template engine can also create links, images links, radio buttons, etc.
- If you like to see me upload more samples, post a discussion or issue entry. Thanks!
- What's great about a template engine is separating server code from structure and styling languages.

Purpose
-------

[](#purpose)

- Revisit the past.
- Experiment with an old template engine.
- Use it as a light weight engine for testing or small purposes.
- Upgrade the project.

Future Upgrades
---------------

[](#future-upgrades)

- The caching feature is not working.
- The Error Manager could use improvement.
- Additional minor code improvements and refactoring.

Feedback
--------

[](#feedback)

- Forks and Pull Requests are welcomed.
- Suggestions and comments for improvement are requested.
- Thank you for reading!

License
-------

[](#license)

- GNU GENERAL PUBLIC LICENSE, Version 3.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance40

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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 ~10 days

Total

3

Last Release

512d ago

PHP version history (2 changes)v2.0.0PHP &gt;=5.2.0

v2.0.2PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/680e03dee8e2034db2678e5f8da8ca412074d13741637f5a8b40d4be1c118e1f?d=identicon)[hotelmah](/maintainers/hotelmah)

---

Top Contributors

[![hotelmah](https://avatars.githubusercontent.com/u/189757542?v=4)](https://github.com/hotelmah "hotelmah (5 commits)")

---

Tags

cssphptemplatephptemplatelightweightfranceModeliXe

### Embed Badge

![Health badge](/badges/hotelmah-modelixe/health.svg)

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

###  Alternatives

[alhimik1986/php-excel-templator

PHP Spreadsheet extension for generating excel files from template

350336.7k1](/packages/alhimik1986-php-excel-templator)

PHPackages © 2026

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