dev-master 2014-04-23 02:19 UTC

This package is not auto-updated.

Last update: 2019-08-09 02:24:43 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

  • provide REST Web Services for user
  • provide authentication Web Services
  • provide forms for anything related to users
  • provide model(s) to pass user data to view rendering
  • provide validators for anything related to users

Install with Composer

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

Module configuration

There are forms in this module that uses image captcha, so their paths must be configured using the config file, check file config/user.local.php.dist. This file must be correctly configured and copied to the project autoload directory without the .dist suffix.

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 NeobazaarUserModule\tests\data\coverage

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