neobazaar/document

dev-master 2014-05-11 05:50 UTC

This package is not auto-updated.

Last update: 2019-08-08 16:21:26 UTC


README

Build Status Coverage Status Dependency Status Latest Stable Version Total Downloads Latest Unstable Version License

Neobazaar is a free classifieds web application. It is composed by the following modules:

Duties of this module

Classifieds and images are treated like DOCUMENTS this means they will be stored in the same DB tables and use the same entity and repositories. They are differentiated by the use of specific models.

  • provide CRUD system for classifieds
  • provide CRUD system for images
  • provide forms for all CRUD system
  • provide model object(s) to represent classified and image data
  • provide services for classified and image
  • provide utils classes that are registered both like view helpers and controller plugins

Install with Composer

{
 "repositories": [
       {
           "type": "vcs",
           "url": "https://github.com/kaiohken1982/NeobazaarDocumentModule.git"
       }
   ],
   "require": {
       ......,
       "neobazaar/document": "dev-master",
   }
}

Run unit test

Please note you must be in the module root.

curl -s http://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit 

If you have xdebug enabled and you want to see code coverage run the command below, it'll create html files in Neobazaar\tests\data\coverage

./vendor/bin/phpunit --coverage-html data/coverage