Create By: Jaime Marcelo Valasek
Module base to use structure AbstractMapper and AbstractService to ZF2
Start program with a structure ready. Advisable to use the Module JVBase for beginners and / or people who have no knowledge of how to build a well structured project.
Download this module into the vendor folder of your project.
Enable the module in the file application.config.php. Add the module JVBase.
create the service connection to the database with the name Zend\Db\Adapter\Adapter
- Edit composer.json
"require": {
"jaimevalasek/jv-base": "dev-master"
}
- Now tell composer to download JVBase by running the command:
php composer.phar update
<?php
return array(
'modules' => array(
// ...
'JVBase',
),
// ...
);