neobazaar / document
Neobazaar document module
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master
2014-05-11 05:50 UTC
Requires
- php: >=5.3.3
- beberlei/doctrineextensions: dev-master
- neobazaar/neobazaar: dev-master
- neobazaar/user: dev-master
- razor/razor: dev-master
- zendframework/zendframework: 2.*
Requires (Dev)
- phpunit/phpunit: 3.7.*
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2019-08-08 16:21:26 UTC
README
Neobazaar is a free classifieds web application. It is composed by the following modules:
- Neobazaar Skeleton Application
- Neobazaar Main Module
- Neobazaar Document Module (this module)
- Neobazaar User Module
- Neobazaar Mailer Module
- Neobazaar Public Application
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