Add Git repository git@github.com:mgrajcarek/user-importer-poc.git
to your composer.json
file:
"repositories": [
{
"type": "vcs",
"url": "git@github.com:mgrajcarek/user-importer-poc.git"
}
],
Add NetInteractiveUserImporterBundle
to your composer.json
file:
$ composer require netinteractive/user-importer-bundle "~0.1"
Register the bundle in app/AppKernel.php
:
public function registerBundles()
{
return array(
// ...
new NetInteractive\Bundle\UserImporterBundle\NetInteractiveUserImporterBundle(),
);
}
Register bundle routes app/config/routing.yml
net_interactive_user_importer:
resource: "@NetInteractiveUserImporterBundle/Resources/config/routing.xml"
prefix: /
Update your database schema or use migrations to synchronize database
bin/console doctrine:schema:update --force
Then go to page http(s)://your.domain/user/importer/upload
to begin.
Setup the test suite using Composer:
$ composer install --dev
To run Specs (require dev dependencies)
$ vendor/bin/phpspec run