PHPackages                             sitrunlab/learnzf2 - 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. sitrunlab/learnzf2

ArchivedProject

sitrunlab/learnzf2
==================

Learn ZF2 website

0.1.4(10y ago)193314[4 issues](https://github.com/sitrunlab/LearnZF2/issues)MITPHPPHP &gt;=5.5

Since Dec 2Pushed 10y ago8 watchersCompare

[ Source](https://github.com/sitrunlab/LearnZF2)[ Packagist](https://packagist.org/packages/sitrunlab/learnzf2)[ Docs](http://learnzf2.sitrun-tech.com/)[ RSS](/packages/sitrunlab-learnzf2/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (9)Versions (8)Used By (0)

LearnZF2 repository
===================

[](#learnzf2-repository)

[![Build Status](https://camo.githubusercontent.com/e1da49977bc040873da9661fceed98294686146a3934b43ce22d18d84dc6aedc/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f73697472756e6c61622f4c6561726e5a46322e706e673f6272616e63683d646576656c6f70)](http://travis-ci.org/sitrunlab/LearnZF2)[![Coverage Status](https://camo.githubusercontent.com/dc37bd872df0da63105133ec1fe633fdcefc161b734b680b3560619160e69713/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f73697472756e6c61622f4c6561726e5a46322f62616467652e706e673f6272616e63683d646576656c6f70)](https://coveralls.io/r/sitrunlab/LearnZF2)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9bce76d13f6cb8888d0ce67176e67098df606a7982daaa12a4b4c9feda43050a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73697472756e6c61622f4c6561726e5a46322f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sitrunlab/LearnZF2/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/b1b468dc438dc684c7ea79963e917e4fe16e48c1646e15f587b0da7b3743b305/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32623739633865312d353734662d343066322d623131362d3766613830333432663130382f6d696e692e706e67)](https://insight.sensiolabs.com/projects/2b79c8e1-574f-40f2-b116-7fa80342f108)

Introduction
------------

[](#introduction)

This is a repository for the "Learning Zend Framework" website and contains live modules that you can view or download directly.

Installation
------------

[](#installation)

1.Use Composer:

```
$ composer create-project sitrunlab/learnzf2
```

2.Use Bower to install asset dependencies. Install NodeJs dan run :

```
sudo npm install -g bower
bower install

```

3.This is the output of the Bower installation process.

```
bower install
-----------------------------------------
Update available: 1.3.9 (current: 1.3.7)
Run npm update -g bower to update
-----------------------------------------

bower bootstrap#3.0.3           cached git://github.com/twbs/bootstrap.git#3.0.3
bower bootstrap#3.0.3         validate 3.0.3 against git://github.com/twbs/bootstrap.git#3.0.3
bower jquery#1.10.2             cached git://github.com/jquery/jquery.git#1.10.2
bower jquery#1.10.2           validate 1.10.2 against git://github.com/jquery/jquery.git#1.10.2
bower jquery-ui#1.10.3          cached git://github.com/components/jqueryui.git#1.10.3
bower jquery-ui#1.10.3        validate 1.10.3 against git://github.com/components/jqueryui.git#1.10.3
bower selectize#0.8.5           cached git://github.com/brianreavis/selectize.js.git#0.8.5
bower selectize#0.8.5         validate 0.8.5 against git://github.com/brianreavis/selectize.js.git#0.8.5
bower sifter#0.3.x              cached git://github.com/brianreavis/sifter.js.git#0.3.3
bower sifter#0.3.x            validate 0.3.3 against git://github.com/brianreavis/sifter.js.git#0.3.x
bower microplugin#0.0.x         cached git://github.com/brianreavis/microplugin.js.git#0.0.3
bower microplugin#0.0.x       validate 0.0.3 against git://github.com/brianreavis/microplugin.js.git#0.0.x
bower sifter#0.3.x                 new version for git://github.com/brianreavis/sifter.js.git#0.3.x
bower sifter#0.3.x             resolve git://github.com/brianreavis/sifter.js.git#0.3.x
bower sifter#0.3.x            download https://github.com/brianreavis/sifter.js/archive/v0.3.4.tar.gz
...

```

Check that Bower was installed successfully :

```
bower -version

```

The output should look like this:

```
bower -version
1.3.3

```

\[optional\] If there was no output, try installing nodejs-legacy

```
sudo apt-get install nodejs-legacy

```

4.Copy `config/autoload/doctrine.local.php.dist` to `config/autoload/doctrine.local.php` and configure it with your current environment.

5.Run doctrine migrations

```
vendor/bin/doctrine-module migrations:migrate

```

Web Server Setup
----------------

[](#web-server-setup)

### PHP CLI Server

[](#php-cli-server)

The easiest way to begin in PHP 5.4 or higher is by running this script:

```
php -S 0.0.0.0:8080 -t public/ public/index.php

```

The script above will start "cli-server" on port 8080 and affect all network interfaces.

**Warning:** The built in CLI-Server is for development only!

### Apache Setup

[](#apache-setup)

```

    ServerName learnzf2.localhost
    DocumentRoot /path/to/LearnZF2/public
    SetEnv APPLICATION_ENV "development"

        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all

```

### Nginx Setup

[](#nginx-setup)

Create a new file named "learnzf2.localhost"

```
sudo gedit /etc/nginx/sites-available/learnzf2.localhost

```

And filled it with these scripts.

```
server {
      listen      80;
      server_name learnzf2.localhost;
      root        /path/to/LearnZF2/public;
      index       index.html index.htm index.php;

      location / {
        try_files $uri $uri/ /index.php$is_args$args;
      }

      location ~ \.php$ {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include        fastcgi_params;
      }
}

```

Create a symlink to the "sites-enabled" directory

```
sudo ln -s /etc/nginx/sites-available/learnzf2.localhost /etc/nginx/sites-enabled/learnzf2.localhost

```

Restart the Nginx service.

```
sudo service nginx restart

```

**NOTE :**Don't forget to add a "virtual hostname" to the host file.

The host file location in Windows is :

```
C:\Windows\System32\Drivers\etc\hosts

```

The host file location in Linux is :

```
sudo gedit /etc/hosts

```

And add this line :

```
127.0.0.1 learnzf2.localhost

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.5% 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 ~59 days

Recently: every ~76 days

Total

7

Last Release

3825d ago

PHP version history (3 changes)0.0.2PHP &gt;=5.3.3

0.0.3PHP &gt;=5.4.0

0.1.2PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/19076b7688ca1c8ee79ab3ac6fa6acdd7b96012973aba3b1a06cbb3154d7f3e5?d=identicon)[samsonasik](/maintainers/samsonasik)

---

Top Contributors

[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (566 commits)")[![stanimirdim92](https://avatars.githubusercontent.com/u/42135030?v=4)](https://github.com/stanimirdim92 "stanimirdim92 (80 commits)")[![acelaya](https://avatars.githubusercontent.com/u/2719332?v=4)](https://github.com/acelaya "acelaya (69 commits)")[![mockiemockiz](https://avatars.githubusercontent.com/u/1708946?v=4)](https://github.com/mockiemockiz "mockiemockiz (35 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sitrunlab-learnzf2/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[oat-sa/tao-core

TAO core extension

66136.7k74](/packages/oat-sa-tao-core)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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