PHPackages                             mfcc/skeleton-application - 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. [Framework](/categories/framework)
4. /
5. mfcc/skeleton-application

ActiveLibrary[Framework](/categories/framework)

mfcc/skeleton-application
=========================

Skeleton Application for ZF2

00[1 PRs](https://github.com/Tlapi/ZendSkeletonApplication/pulls)PHP

Since Jul 15Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Tlapi/ZendSkeletonApplication)[ Packagist](https://packagist.org/packages/mfcc/skeleton-application)[ RSS](/packages/mfcc-skeleton-application/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MFCC - ZendSkeletonApplication
==============================

[](#mfcc---zendskeletonapplication)

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

[](#introduction)

This is a simple, skeleton application using the ZF2 MVC layer and module systems.

This skeleton comes with:

- [Zend Developer Tools](https://github.com/zendframework/ZendDeveloperTools)
- [Zfc Twitter Bootstrap](https://github.com/mwillbanks/ZfcTwitterBootstrap)
- [Doctrine](http://www.doctrine-project.org/)
- [ZfcUser - Doctrine](https://github.com/ZF-Commons/ZfcUser)
- [Social Auth - Doctrine](https://github.com/SocalNick/ScnSocialAuth)
- [Faker](https://github.com/fzaninotto/Faker)
- [Carbon](https://github.com/briannesbitt/Carbon)
- [Flysystem](https://github.com/thephpleague/flysystem)

Project is \[optionally\] integrated with:

- [Phing](http://www.phing.info/)
- [Bower](http://bower.io/) ([nmp](https://www.npmjs.org/) required)
- [Gulp](http://gulpjs.com/) ([nmp](https://www.npmjs.org/) required)

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

[](#installation)

Using Composer (recommended)
----------------------------

[](#using-composer-recommended)

The recommended way to get a working copy of this project is to clone the repository and use `composer` to install dependencies using the `create-project` command:

```
curl -s https://getcomposer.org/installer | php --
php composer.phar create-project mfcc/skeleton-application path/to/install

```

Alternately, clone the repository and manually invoke `composer` using the shipped `composer.phar`:

```
cd my/project/dir
git clone https://github.com/Tlapi/ZendSkeletonApplication.git
cd ZendSkeletonApplication
php composer.phar self-update
php -c php.ini composer.phar install

```

(The `self-update` directive is to ensure you have an up-to-date `composer.phar`available.)

Project Setup
-------------

[](#project-setup)

### Setup project configs

[](#setup-project-configs)

Set your db connection. Copy `config/autoload/local.php.dist` to `config/autoload/local.php` and provide username, password etc.

Set your social login integration if needed in `config/autoload/scn-social-auth.global.php` and `config/autoload/scn-social-auth.local.php.dist`

### Create entities

[](#create-entities)

Create your Entities and Repositories. Example provided is in `module/Application/src/Application/Entity/Article.php`

### Create database

[](#create-database)

Run

```
php vendor/bin/doctrine orm:schema-tool:update --force

```

to create your database.

Run faker to fake your entities data if you want

```
php public/index.php faker

```

### \[optional\] Set up Phing

[](#optional-set-up-phing)

Set your deployment options in `build.xml` and deploy with cli:

```
php phing-latest.phar

```

or apply your hotfix with:

```
php phing-latest.phar applyhotfix

```

### \[optional\] Set up Bower

[](#optional-set-up-bower)

Install bower (if not installed)

```
npm install -g bower

```

Require your project dependencies, e.g.:

```
bower install jquery

```

And update your package file to share with others

```
bower init

```

### \[optional\] Set up Gulp

[](#optional-set-up-gulp)

Install gulp globally (if needed)

```
npm install --global gulp

```

Edit `gulpfile.js` to meet your needs (set `publicDir` variable) and run

```
gulp

```

To run individual tasks, use `gulp  `.

Default Gulp setup
------------------

[](#default-gulp-setup)

Gulp comes with following packages:

- [gulp-jshint](https://www.npmjs.org/package/gulp-jshint)
- [gulp-sass](https://www.npmjs.org/package/gulp-sass)
- [gulp-concat](https://www.npmjs.org/package/gulp-concat)
- [gulp-uglify](https://www.npmjs.org/package/gulp-uglify)
- [gulp-rename](https://www.npmjs.org/package/gulp-rename)
- [main-bower-files](https://www.npmjs.org/package/main-bower-files)

`gulp` command does following:

- Gets all libraries installed and required by bower in `bower.js`, copies them to `publicdir/js/libs` and concatenates them to `publicdir/dist/libs.js`, `publicdir/dist/libs.min.js`
- checks any JavaScript file in our `publicdir/js` directory and makes sure there are no errors in our code (excluding subfolders)
- compiles any of our Sass files in our `publicdir/scss` directory into .css and saves the compiled .css file in our `publicdir/css` directory
- concatenates all JavaScript files in our `publicdir/js` directory (excluding subfolders) and saves the ouput to `publicdir/dist/scripts.js`, `publicdir/dist/scripts.min.js`

Gulp watch watches `publicdir/js`, `publicdir/js/libs` and `publicdir/js/scss` for any changes.

How to use [faker](https://github.com/fzaninotto/Faker)
-------------------------------------------------------

[](#how-to-use-faker)

Edit `FakerController.php` and then just run `php public/index.php faker`

Example content of `FakerController.php`:

```
$generator = \Faker\Factory::create();
$populator = new \Faker\ORM\Doctrine\Populator($generator, $this->getEntityManager());
$populator->addEntity('SomeEntity', 1000);
$populator->addEntity('ZfcUser\Entity\User', 100, array(
  'username' => null
));
$insertedPKs = $populator->execute();

```

Find more details [here](https://github.com/fzaninotto/Faker)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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://avatars.githubusercontent.com/u/2815391?v=4)[Tlapi](/maintainers/Tlapi)[@Tlapi](https://github.com/Tlapi)

---

Top Contributors

[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (164 commits)")[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (106 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (32 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (27 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (14 commits)")[![BinaryKitten](https://avatars.githubusercontent.com/u/67553?v=4)](https://github.com/BinaryKitten "BinaryKitten (10 commits)")[![Freeaqingme](https://avatars.githubusercontent.com/u/33034?v=4)](https://github.com/Freeaqingme "Freeaqingme (10 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (7 commits)")[![dshafik](https://avatars.githubusercontent.com/u/58074?v=4)](https://github.com/dshafik "dshafik (5 commits)")[![Bittarman](https://avatars.githubusercontent.com/u/33032?v=4)](https://github.com/Bittarman "Bittarman (5 commits)")[![vragovR](https://avatars.githubusercontent.com/u/2576829?v=4)](https://github.com/vragovR "vragovR (4 commits)")[![coss](https://avatars.githubusercontent.com/u/723596?v=4)](https://github.com/coss "coss (3 commits)")[![Hounddog](https://avatars.githubusercontent.com/u/1188248?v=4)](https://github.com/Hounddog "Hounddog (3 commits)")[![kassah](https://avatars.githubusercontent.com/u/24927?v=4)](https://github.com/kassah "kassah (3 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (3 commits)")[![mhujer](https://avatars.githubusercontent.com/u/353372?v=4)](https://github.com/mhujer "mhujer (3 commits)")[![petk](https://avatars.githubusercontent.com/u/1614009?v=4)](https://github.com/petk "petk (3 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (3 commits)")[![tawfekov](https://avatars.githubusercontent.com/u/94997?v=4)](https://github.com/tawfekov "tawfekov (3 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (3 commits)")

### Embed Badge

![Health badge](/badges/mfcc-skeleton-application/health.svg)

```
[![Health](https://phpackages.com/badges/mfcc-skeleton-application/health.svg)](https://phpackages.com/packages/mfcc-skeleton-application)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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