PHPackages                             microstudi/silex-grunt-skeleton - 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. microstudi/silex-grunt-skeleton

ActiveProject[Framework](/categories/framework)

microstudi/silex-grunt-skeleton
===============================

A pre-configured skeleton for the Silex microframework with Grunt tasks added

v1.2.6(10y ago)262MITJavaScriptPHP &gt;=5.4.0

Since Mar 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/microstudi/Silex-Grunt-Skeleton)[ Packagist](https://packagist.org/packages/microstudi/silex-grunt-skeleton)[ RSS](/packages/microstudi-silex-grunt-skeleton/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (19)Versions (11)Used By (0)

ABOUT
=====

[](#about)

Just another Silex-Framework Skeleton

This is a port from the  with this features added:

- Built-in PHP server (minimum version required 5.4)
- Livereloading for any css, js, or php file changes
- Demo class with view, phpunit test and route
- Grunt for automating tasks
- Bower to install javascript packages (currently jQuery, Modernizr)

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

[](#installation)

```
composer create-project microstudi/silex-grunt-skeleton new_app_path

```

GRUNT, BOWER &amp; COMPOSER
===========================

[](#grunt-bower--composer)

This tools are required to use this project:

- [**Grunt**](http://gruntjs.com/) is a Javascript task runner that helps to execute repetitive tasks such as:

    - Javascript minification
    - CSS minification
    - Image optimizations
    - Package installers
    - Code checks and tests
    - ... so on ...
- [**Bower**](http://bower.io/) is a dependency manager for common Javascript libraries
- [**Composer**](https://getcomposer.org/) is a dependency manager for common PHP libraries

Installing grunt and bower
--------------------------

[](#installing-grunt-and-bower)

Grunt is a scripting task tool installable through npm, the Node.js.

If you want to install nodejs, grunt and bower on Ubuntu 12.04 or 14.04 for the very first time just do:

```
sudo apt-get install build-essential libssl-dev git
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
sudo npm install -g grunt-cli
sudo npm install -g bower

```

Additionally, you may remove the configuration npm user directory to avoid unexpected permissions problems when using npm as non root user afterwards:

```
sudo rm ~/.npm -rf

```

To install Composer on Ubuntu or any other \*nix execute this commands:

```
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer

```

For other OS, please refer to the official install guides:

Install Grunt: Install Bower: Install Composer:

Using grunt
-----------

[](#using-grunt)

Once you have your copy of Grunt installed you need to install the tasks runners used. To do so you may just execute in the path where you have your copy of the Silex-Skeleton code:

```
npm install

```

Using bower
-----------

[](#using-bower)

Once you have your copy of Bower installed you need to download/update the needed Javascript libraries. To do so you may just execute in the path where you have your copy of the Silex-Skeleton code:

```
bower install

```

Using composer
--------------

[](#using-composer)

Once you have your copy of Composer installed you need to download/update the needed PHP libraries. To do so you may just execute in the path where you have your copy of the Silex-Skeleton code:

```
composer install

```

After that you're ready to execute any of the task available in the same directory:

```
grunt jshint
grunt phplint
...

```

Grunt commands
--------------

[](#grunt-commands)

- **Default task**: `grunt`This task is the same as execute as doing: `grunt lint`It performs static code analysis in order to quick detect mistakes or misspellings
- **Code linter**: `grunt lint`Same as default task
- **Wiredep** `grunt wiredep`This task is to add into the specified layouts the bower components Should be executed manually every time a bower library is installed
- **build** `grunt build`Builds the project into the dist folder. Production web server should point to the "dist/web" folder
- **serve** `grunt serve`Starts an instance of the PHP builtin server with livereload pointing to the development folder "web"
- **serve:dist** `grunt serve:dist`Builds the project and starts an instance of the PHP builtin server with livereload pointing to the production folder "web"
- **precommit** `grunt precommit`This task could be usefull if you want to add it to the pre-commit git hook. Executes the lint tasks for a a modified files only so you'll prevent from commiting broken files:

    Content of `.git/hooks/pre-commit`:

    ```
    #!/bin/sh
    grunt precommit

    ```

    Remember to make it executable:

    `$ chmod +x .git/hooks/pre-commit`

TODO:
=====

[](#todo)

- adding optional yml config for assets path (cdn, jquery cdn or cdnfy), google analytics, etc
- add phpunit to grunt
- add translations
- doctrine

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 55% 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 ~116 days

Recently: every ~107 days

Total

10

Last Release

3760d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.3

v1.2.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7886fc604ad3b0753b7fe6e16f5b7ef6c4b89bf97df311362d8c1fa3a7230081?d=identicon)[microstudi](/maintainers/microstudi)

---

Top Contributors

[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (33 commits)")[![microstudi](https://avatars.githubusercontent.com/u/1401520?v=4)](https://github.com/microstudi "microstudi (21 commits)")[![ifdattic](https://avatars.githubusercontent.com/u/966877?v=4)](https://github.com/ifdattic "ifdattic (1 commits)")[![petk](https://avatars.githubusercontent.com/u/1614009?v=4)](https://github.com/petk "petk (1 commits)")[![pulse00](https://avatars.githubusercontent.com/u/185278?v=4)](https://github.com/pulse00 "pulse00 (1 commits)")[![danez](https://avatars.githubusercontent.com/u/231804?v=4)](https://github.com/danez "danez (1 commits)")[![vicb](https://avatars.githubusercontent.com/u/248818?v=4)](https://github.com/vicb "vicb (1 commits)")[![diimpp](https://avatars.githubusercontent.com/u/870747?v=4)](https://github.com/diimpp "diimpp (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/microstudi-silex-grunt-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/microstudi-silex-grunt-skeleton/health.svg)](https://phpackages.com/packages/microstudi-silex-grunt-skeleton)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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