PHPackages                             webino/webino-dev - 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. webino/webino-dev

ActiveLibrary[Framework](/categories/framework)

webino/webino-dev
=================

Webino developer's module for Zend Framework 2

117.7k↓28.9%3PHPCI failing

Since Oct 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/webino/WebinoDev)[ Packagist](https://packagist.org/packages/webino/webino-dev)[ RSS](/packages/webino-webino-dev/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (3)

Webino developer's module
 for Zend Framework 2
================================================

[](#webino-developers-module--for-zend-framework-2)

[![Build Status](https://camo.githubusercontent.com/c49b2a39f93f66c00e1067f87860bc0f17f3b11ffea4ba570182e87d3a65c5d5/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f776562696e6f2f576562696e6f4465762e706e673f6272616e63683d646576656c6f70)](http://travis-ci.org/webino/WebinoDev "Develop Build Status")[![Coverage Status](https://camo.githubusercontent.com/4745e327d3f1916ad6b945815429777ab48f73b210946b32280e1efa7262ee9a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f776562696e6f2f576562696e6f4465762f62616467652e706e673f6272616e63683d646576656c6f70)](https://coveralls.io/r/webino/WebinoDev?branch=develop "Develop Coverage Status")[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2e9acb18b76f2404a9f1b8a62409fc25fadac86a081a0705f9083e4882072d4c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776562696e6f2f576562696e6f4465762f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/webino/WebinoDev/?branch=develop "Develop Quality Score")[![Dependency Status](https://camo.githubusercontent.com/b4b3f3a6530a3ca6aa3898eafdda46c19e33c01f8058e688bf0aaab9e46a436f/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534653266663533386264363966353466313030303036372f62616467652e737667)](https://www.versioneye.com/user/projects/54e2ff538bd69f54f1000067 "Develop Dependency Status")
[![Latest Stable Version](https://camo.githubusercontent.com/4d2fa34f4a692457ebec5b200abad5bdb5c4f21fff9b557afc67e3733f13ea94/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d6465762f762f737461626c652e737667)](https://packagist.org/packages/webino/webino-dev)[![Total Downloads](https://camo.githubusercontent.com/dca13b2e9182a2ea712911672b6bae7e48c7122c6321fc5d025499644bf67216/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d6465762f646f776e6c6f616473)](https://packagist.org/packages/webino/webino-dev)[![Latest Unstable Version](https://camo.githubusercontent.com/06c94b3f78a5e68bbead37f0a02263d7f34982e454b567dad86dc8baed971a1a/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d6465762f762f756e737461626c652e737667)](https://packagist.org/packages/webino/webino-dev)[![License](https://camo.githubusercontent.com/6727c7b6b8586b56e599afd19e513547efb8ec97ac9942528795caa54c316d57/68747470733a2f2f706f7365722e707567782e6f72672f776562696e6f2f776562696e6f2d6465762f6c6963656e73652e737667)](https://packagist.org/packages/webino/webino-dev)

Module to ease development of the Webino modules.

Features
--------

[](#features)

- Utility functions
- Smart dependency injection definition generator (deprecated)
- DOM testing
- Mail testing
- Selenium abstract tests testing
- Base classes for Selenium WebDriver tests
    - Authentication testing
    - Forms testing
    - Ajax testing
    - Browser screenshots
    - Video debug notifications support
- Fixed Assetic\\Cache\\FilesystemCache file permissions with umask

Requirements
------------

[](#requirements)

- PHP 7.1
- ZendFramework 2

Setup
-----

[](#setup)

Open terminal and go to your application directory

1. Use this module only in your development environment

- Run `php composer.phar require webino/webino-dev:dev-develop`
- Add `WebinoDev` to the enabled modules list
    *NOTE: Considering a zf2-skeleton or very similar application.*

QuickStart
----------

[](#quickstart)

### Utility functions

[](#utility-functions)

```
d();  // var_dump();
dd(); // var_dump();exit;
p();  // print_r();
pd(); // print_r();exit;
pr(); // return print_r();
e();  // throw new \WebinoDev\Exception\DevelopmentException;
```

### Dependency injection definition generator

[](#dependency-injection-definition-generator)

Create file `bin/definition_generator` in your module, with following code:

```
#!/usr/bin/env php
