PHPackages                             wdb/tutorial-oop - 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. wdb/tutorial-oop

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

wdb/tutorial-oop
================

This tutorial includes projects to show MVC pattern (Model, View, Controller) as well as OOP (Object Orientated Programming) and usage of `smarty` as template engine.

0.6.1(7y ago)02251GPL-3.0-or-laterPHP

Since Sep 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/DavidBruchmann/tutorial_oop)[ Packagist](https://packagist.org/packages/wdb/tutorial-oop)[ Docs](https://barlians.com)[ RSS](/packages/wdb-tutorial-oop/feed)WikiDiscussions master Synced 2mo ago

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

Tutorial OOP and MVC
====================

[](#tutorial-oop-and-mvc)

Requirements: PHP 5.2+, smarty (PHP template engine)

Description:
------------

[](#description)

This tutorial includes projects to show MVC pattern (Model, View, Controller) as well as OOP (Object Orientated Programming).
Most of the logic programm-logic is simple to keep the focus on structure and general aspects of programming.

Currently "smarty" is used as template engine, while a shift to something more modern might be expectable. "smarty" regrettable has a small impact on the programm-logic as arrays are used for data instead of Objects.
Nevertheless a general approach for an object-orientated template engine is partially prepared.

Installation:
=============

[](#installation)

1. **by composer**

---

To load the project including smarty with composer use

```
composer create-project wdb/tutorial-oop

```

If you want to install the master-branch instead of the latest release use

```
composer create-project -s dev wdb/tutorial-oop

```

2. **by git**

---

git clone [https://github.com/DavidBruchmann/tutorial\_oop.git](https://github.com/DavidBruchmann/tutorial_oop.git)
Then refer to [including smarty in manual installation](https://github.com/DavidBruchmann/tutorial_oop#including-smarty-in-manual-installation) below.

3. **by zipped release**

---

Download the latest release from this page:
[https://github.com/DavidBruchmann/tutorial\_oop/releases](https://github.com/DavidBruchmann/tutorial_oop/releases)
Then refer to [including smarty in manual installation](https://github.com/DavidBruchmann/tutorial_oop#including-smarty-in-manual-installation) below.

Including smarty in manual installation
---------------------------------------

[](#including-smarty-in-manual-installation)

in the downloaded project folder there has to be a folder `vendor/smarty/smarty` including the template engine. Without using composer the download and the arrangement of the structure has to be done manually.

Even with manual download you also still can use `composer install` to install only smarty by composer.

For Support of tutorial and seminar
===================================

[](#for-support-of-tutorial-and-seminar)

PayPal:

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

2804d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cd8989c5c9dc55b469d80c9e51c58fa9064eb72271d7610d278f6aed5fb52f7?d=identicon)[David Bruchmann](/maintainers/David%20Bruchmann)

---

Top Contributors

[![DavidBruchmann](https://avatars.githubusercontent.com/u/999146?v=4)](https://github.com/DavidBruchmann "DavidBruchmann (16 commits)")

---

Tags

mvctutorialOOP

### Embed Badge

![Health badge](/badges/wdb-tutorial-oop/health.svg)

```
[![Health](https://phpackages.com/badges/wdb-tutorial-oop/health.svg)](https://phpackages.com/packages/wdb-tutorial-oop)
```

PHPackages © 2026

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