diff --git a/app/AppKernel.php b/app/AppKernel.php index 642a9a3..6d33710 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -16,6 +16,9 @@ public function registerBundles() new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new Csa\Bundle\GuzzleBundle\CsaGuzzleBundle(), + new FOS\ElasticaBundle\FOSElasticaBundle(), + new Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\ToleranceBundle(), + new JMS\SerializerBundle\JMSSerializerBundle(), new AppBundle\AppBundle(), ]; diff --git a/app/config/config.yml b/app/config/config.yml index a144c13..e11fc52 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -77,3 +77,13 @@ csa_guzzle: timeout: 2.0 headers: Accept: application/vnd.github.v3+json + +# Tolerance configuration +tolerance: + message_profile: + current_peer: + service: ExampleSymfony + environment: %kernel.environment% + + storage: + neo4j: app.neo4j.client diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 886c92b..5fa1df8 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -7,13 +7,15 @@ parameters: database_name: symfony database_user: root database_password: ~ - # You should uncomment this if you want use pdo_sqlite - # database_path: "%kernel.root_dir%/data.db3" mailer_transport: smtp mailer_host: 127.0.0.1 mailer_user: ~ mailer_password: ~ - # A secret key that's used to generate certain security-related tokens secret: ThisTokenIsNotSoSecretChangeIt + + neo4j_host: neo4j + neo4j_port: 7474 + neo4j_username: neo4j + neo4j_password: neo4j diff --git a/app/config/services.yml b/app/config/services.yml index 5c76fc5..d178bea 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -1,9 +1,19 @@ -# Learn more about services, parameters and containers at -# http://symfony.com/doc/current/book/service_container.html -parameters: -# parameter_name: value - services: -# service_name: -# class: AppBundle\Directory\ClassName -# arguments: ["@another_service_name", "plain_value", "%parameter_name%"] + app.neo4j.client_builder: + class: Neoxygen\NeoClient\ClientBuilder + factory: [Neoxygen\NeoClient\ClientBuilder, create] + calls: + - + - addConnection + - + - 'default' + - 'http' + - %neo4j_host% + - %neo4j_port% + - true + - %neo4j_username% + - %neo4j_password% + + app.neo4j.client: + class: Neoxygen\NeoClient\Client + factory: ["@app.neo4j.client_builder", build] diff --git a/composer.json b/composer.json index 1ff353f..07d6f4c 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,12 @@ "sensio/framework-extra-bundle": "^3.0.2", "incenteev/composer-parameter-handler": "^2.0", "csa/guzzle-bundle": "^2.0", - "sroze/tolerance": "dev-message-profile" + "sroze/tolerance": "dev-message-profile", + "friendsofsymfony/elastica-bundle": "3.2.x-dev", + "jms/serializer-bundle": "^1.1", + "graphaware/neo4j-php-client": "^3.3", + "zendframework/zend-diactoros": "^1.3", + "symfony/psr-http-message-bridge": "^0.2.0" }, "require-dev": { "sensio/generator-bundle": "^3.0", diff --git a/composer.lock b/composer.lock index 18b364d..a80a4ec 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "e0e8dbf534e6e32a7e90ee9d7e5d102a", - "content-hash": "af62400fde2e8bbed34f5e4382fcc2ac", + "hash": "0ba2033f00cd957dfa0247f9b7a4269f", + "content-hash": "be652b7ca3e9f50f453d5b28a9d38674", "packages": [ { "name": "csa/guzzle-bundle", @@ -832,6 +832,194 @@ ], "time": "2015-12-25 15:50:05" }, + { + "name": "friendsofsymfony/elastica-bundle", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle.git", + "reference": "ec53cd0805d0ba53a98f70a91a760071d19f66dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/zipball/ec53cd0805d0ba53a98f70a91a760071d19f66dc", + "reference": "ec53cd0805d0ba53a98f70a91a760071d19f66dc", + "shasum": "" + }, + "require": { + "php": ">=5.3.2", + "psr/log": "~1.0", + "ruflin/elastica": "~2.1", + "symfony/console": "~2.1|~3.0", + "symfony/form": "~2.1|~3.0", + "symfony/framework-bundle": "~2.3|~3.0", + "symfony/property-access": "~2.3|~3.0" + }, + "require-dev": { + "doctrine/doctrine-bundle": "~1.2", + "doctrine/orm": "~2.4", + "doctrine/phpcr-bundle": "~1.2", + "jackalope/jackalope-doctrine-dbal": "~1.1", + "jms/serializer-bundle": "@stable", + "knplabs/knp-components": "~1.2", + "knplabs/knp-paginator-bundle": "~2.4", + "pagerfanta/pagerfanta": "~1.0", + "phpunit/phpunit": "~4.1", + "propel/propel1": "1.6.*", + "symfony/browser-kit": "~2.3|~3.0", + "symfony/expression-language": "~2.4|~3.0", + "symfony/twig-bundle": "~2.3|~3.0" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "FOS\\ElasticaBundle\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Tim Nagel", + "email": "tim@nagel.com.au" + }, + { + "name": "Richard Miller", + "email": "richard.miller@limethinking.co.uk" + }, + { + "name": "FriendsOfSymfony Community", + "homepage": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/contributors" + }, + { + "name": "Jeremy Mikola", + "email": "jmikola@gmail.com" + } + ], + "description": "Elasticsearch PHP integration for your Symfony2 project using Elastica", + "homepage": "https://github.com/FriendsOfSymfony/FOSElasticaBundle", + "keywords": [ + "doctrine2", + "elastica", + "elasticsearch", + "mongodb", + "propel", + "search" + ], + "time": "2016-01-21 21:39:27" + }, + { + "name": "graphaware/neo4j-php-client", + "version": "3.3.15", + "source": { + "type": "git", + "url": "https://github.com/graphaware/neo4j-php-client.git", + "reference": "0eda3da997b2f04e289ed3ec659d7fb9b056b727" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/graphaware/neo4j-php-client/zipball/0eda3da997b2f04e289ed3ec659d7fb9b056b727", + "reference": "0eda3da997b2f04e289ed3ec659d7fb9b056b727", + "shasum": "" + }, + "require": { + "graphaware/neo4j-response-formatter": "^1.0", + "guzzlehttp/guzzle": "^6.0", + "monolog/monolog": "~1.1", + "php": ">= 5.5", + "symfony/config": "^2.7|~3.0", + "symfony/dependency-injection": "^2.7|~3.0", + "symfony/event-dispatcher": "^2.7|~3.0", + "symfony/yaml": "^2.7|~3.0" + }, + "require-dev": { + "behat/behat": "~3.0", + "bossa/phpspec2-expect": "*", + "phpspec/phpspec": "~2.0", + "phpunit/phpunit": "4.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Neoxygen\\NeoClient\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christophe Willemsen", + "email": "christophe@graphaware.com" + } + ], + "description": "Neo4j-PHP-Client is the most advanced PHP Client for Neo4j", + "homepage": "http://graphaware.com", + "keywords": [ + "binary", + "bolt", + "client", + "cluster", + "graph", + "high-availibility", + "neo4j" + ], + "time": "2016-02-04 13:37:27" + }, + { + "name": "graphaware/neo4j-response-formatter", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/graphaware/neo4j-php-response-formatter.git", + "reference": "a1a1bbbd445163c5dc06e5e47a8fec07b344f903" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/graphaware/neo4j-php-response-formatter/zipball/a1a1bbbd445163c5dc06e5e47a8fec07b344f903", + "reference": "a1a1bbbd445163c5dc06e5e47a8fec07b344f903", + "shasum": "" + }, + "require": { + "psr/http-message": "^1.0" + }, + "require-dev": { + "neoxygen/neoclient": "^3.2", + "phpspec/prophecy": "^1.4", + "phpunit/phpunit": "^4.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "GraphAware\\NeoClient\\Formatter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christophe Willemsen", + "email": "christophe@graphaware.com" + } + ], + "description": "Response Formatter for NeoClient", + "time": "2015-08-06 21:11:14" + }, { "name": "guzzlehttp/guzzle", "version": "6.1.1", @@ -1104,6 +1292,236 @@ ], "time": "2014-01-12 16:20:24" }, + { + "name": "jms/metadata", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/metadata.git", + "reference": "22b72455559a25777cfd28c4ffda81ff7639f353" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/22b72455559a25777cfd28c4ffda81ff7639f353", + "reference": "22b72455559a25777cfd28c4ffda81ff7639f353", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "doctrine/cache": "~1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5.x-dev" + } + }, + "autoload": { + "psr-0": { + "Metadata\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache" + ], + "authors": [ + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "Class/method/property metadata management in PHP", + "keywords": [ + "annotations", + "metadata", + "xml", + "yaml" + ], + "time": "2014-07-12 07:13:19" + }, + { + "name": "jms/parser-lib", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/parser-lib.git", + "reference": "c509473bc1b4866415627af0e1c6cc8ac97fa51d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/parser-lib/zipball/c509473bc1b4866415627af0e1c6cc8ac97fa51d", + "reference": "c509473bc1b4866415627af0e1c6cc8ac97fa51d", + "shasum": "" + }, + "require": { + "phpoption/phpoption": ">=0.9,<2.0-dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-0": { + "JMS\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "description": "A library for easily creating recursive-descent parsers.", + "time": "2012-11-18 18:08:43" + }, + { + "name": "jms/serializer", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/serializer.git", + "reference": "fe13a1f993ea3456e195b7820692f2eb2b6bbb48" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/fe13a1f993ea3456e195b7820692f2eb2b6bbb48", + "reference": "fe13a1f993ea3456e195b7820692f2eb2b6bbb48", + "shasum": "" + }, + "require": { + "doctrine/annotations": "1.*", + "doctrine/instantiator": "~1.0.3", + "jms/metadata": "~1.1", + "jms/parser-lib": "1.*", + "php": ">=5.4.0", + "phpcollection/phpcollection": "~0.1" + }, + "conflict": { + "twig/twig": "<1.12" + }, + "require-dev": { + "doctrine/orm": "~2.1", + "doctrine/phpcr-odm": "~1.0.1", + "jackalope/jackalope-doctrine-dbal": "1.0.*", + "phpunit/phpunit": "~4.0", + "propel/propel1": "~1.7", + "symfony/filesystem": "2.*", + "symfony/form": "~2.1", + "symfony/translation": "~2.0", + "symfony/validator": "~2.0", + "symfony/yaml": "2.*", + "twig/twig": "~1.12|~2.0" + }, + "suggest": { + "symfony/yaml": "Required if you'd like to serialize data to YAML format." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-0": { + "JMS\\Serializer": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.", + "homepage": "http://jmsyst.com/libs/serializer", + "keywords": [ + "deserialization", + "jaxb", + "json", + "serialization", + "xml" + ], + "time": "2015-10-27 09:24:41" + }, + { + "name": "jms/serializer-bundle", + "version": "1.1.0", + "target-dir": "JMS/SerializerBundle", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/JMSSerializerBundle.git", + "reference": "3e396c980545350c2efb65a50041d2a9f9d6562e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/JMSSerializerBundle/zipball/3e396c980545350c2efb65a50041d2a9f9d6562e", + "reference": "3e396c980545350c2efb65a50041d2a9f9d6562e", + "shasum": "" + }, + "require": { + "jms/serializer": "^1.0.0", + "php": ">=5.4.0", + "phpoption/phpoption": "^1.1.0", + "symfony/framework-bundle": "~2.3|~3.0" + }, + "require-dev": { + "doctrine/doctrine-bundle": "*", + "doctrine/orm": "*", + "symfony/browser-kit": "*", + "symfony/class-loader": "*", + "symfony/css-selector": "*", + "symfony/finder": "*", + "symfony/form": "*", + "symfony/process": "*", + "symfony/stopwatch": "*", + "symfony/twig-bundle": "*", + "symfony/validator": "*", + "symfony/yaml": "*" + }, + "suggest": { + "jms/di-extra-bundle": "Required to get lazy loading (de)serialization visitors, ~1.3" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-0": { + "JMS\\SerializerBundle": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "Allows you to easily serialize, and deserialize data of any complexity", + "homepage": "http://jmsyst.com/bundles/JMSSerializerBundle", + "keywords": [ + "deserialization", + "jaxb", + "json", + "serialization", + "xml" + ], + "time": "2015-11-10 12:26:42" + }, { "name": "monolog/monolog", "version": "1.17.2", @@ -1229,6 +1647,106 @@ ], "time": "2015-12-10 14:48:13" }, + { + "name": "phpcollection/phpcollection", + "version": "0.4.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-collection.git", + "reference": "b8bf55a0a929ca43b01232b36719f176f86c7e83" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-collection/zipball/b8bf55a0a929ca43b01232b36719f176f86c7e83", + "reference": "b8bf55a0a929ca43b01232b36719f176f86c7e83", + "shasum": "" + }, + "require": { + "phpoption/phpoption": "1.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.3-dev" + } + }, + "autoload": { + "psr-0": { + "PhpCollection": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "authors": [ + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "General-Purpose Collection Library for PHP", + "keywords": [ + "collection", + "list", + "map", + "sequence", + "set" + ], + "time": "2014-03-11 13:46:42" + }, + { + "name": "phpoption/phpoption", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/94e644f7d2051a5f0fcf77d81605f152eecff0ed", + "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "4.7.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "psr-0": { + "PhpOption\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "time": "2015-07-25 16:39:46" + }, { "name": "psr/http-message", "version": "1.0", @@ -1386,6 +1904,63 @@ ], "time": "2015-12-17 15:21:44" }, + { + "name": "ruflin/elastica", + "version": "2.3.1", + "source": { + "type": "git", + "url": "https://github.com/ruflin/Elastica.git", + "reference": "0df1d7b513960ba11d3075652dcd71fcab8dd37a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ruflin/Elastica/zipball/0df1d7b513960ba11d3075652dcd71fcab8dd37a", + "reference": "0df1d7b513960ba11d3075652dcd71fcab8dd37a", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "psr/log": "~1.0" + }, + "require-dev": { + "guzzlehttp/guzzle": "5.3.*", + "munkie/elasticsearch-thrift-php": "1.4.*" + }, + "suggest": { + "egeloen/http-adapter": "Allow using httpadapter transport", + "guzzlehttp/guzzle": "Allow using guzzle 5.3.x as the http transport (Requires php 5.4)", + "monolog/monolog": "Logging request", + "munkie/elasticsearch-thrift-php": "Allow using thrift transport" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Elastica\\": "lib/Elastica/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Ruflin", + "homepage": "http://ruflin.com/" + } + ], + "description": "Elasticsearch Client", + "homepage": "http://elastica.io/", + "keywords": [ + "client", + "search" + ], + "time": "2015-10-19 07:09:10" + }, { "name": "sensio/distribution-bundle", "version": "v5.0.3", @@ -1547,7 +2122,7 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sroze/Tolerance/zipball/133dd64e11c9cbfeb75dd9c628d09d319a1a1002", + "url": "https://api.github.com/repos/sroze/Tolerance/zipball/7e32d19ca9e33fc0f794498862b723d4553b4608", "reference": "133dd64e11c9cbfeb75dd9c628d09d319a1a1002", "shasum": "" }, @@ -1969,6 +2544,60 @@ ], "time": "2015-11-04 20:28:58" }, + { + "name": "symfony/psr-http-message-bridge", + "version": "v0.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/psr-http-message-bridge.git", + "reference": "dc7e308e1dc2898a46776e2221a643cb08315453" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/dc7e308e1dc2898a46776e2221a643cb08315453", + "reference": "dc7e308e1dc2898a46776e2221a643cb08315453", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "psr/http-message": "~1.0", + "symfony/http-foundation": "~2.3|~3.0" + }, + "require-dev": { + "symfony/phpunit-bridge": "~2.7|~3.0" + }, + "suggest": { + "zendframework/zend-diactoros": "To use the Zend Diactoros factory" + }, + "type": "symfony-bridge", + "autoload": { + "psr-4": { + "Symfony\\Bridge\\PsrHttpMessage\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "PSR HTTP message bridge", + "homepage": "http://symfony.com", + "keywords": [ + "http", + "http-message", + "psr-7" + ], + "time": "2015-05-29 17:57:12" + }, { "name": "symfony/swiftmailer-bundle", "version": "v2.3.9", @@ -2215,6 +2844,56 @@ "templating" ], "time": "2015-11-05 12:49:06" + }, + { + "name": "zendframework/zend-diactoros", + "version": "1.3.3", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-diactoros.git", + "reference": "4d54fde709664562eb63356f0250d527824d05de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/4d54fde709664562eb63356f0250d527824d05de", + "reference": "4d54fde709664562eb63356f0250d527824d05de", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "psr/http-message": "~1.0" + }, + "provide": { + "psr/http-message-implementation": "~1.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.6", + "squizlabs/php_codesniffer": "^2.3.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev", + "dev-develop": "1.4-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Diactoros\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "description": "PSR HTTP Message implementations", + "homepage": "https://github.com/zendframework/zend-diactoros", + "keywords": [ + "http", + "psr", + "psr-7" + ], + "time": "2016-01-04 21:37:32" } ], "packages-dev": [ @@ -2329,7 +3008,8 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "sroze/tolerance": 20 + "sroze/tolerance": 20, + "friendsofsymfony/elastica-bundle": 20 }, "prefer-stable": false, "prefer-lowest": false, diff --git a/docker-compose.yml b/docker-compose.yml index 6a538b3..1fbe8e4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,5 +2,10 @@ app: build: . volumes: - .:/app + links: + - neo4j expose: - 80 +neo4j: + image: neo4j +