diff --git a/README.md b/README.md index 76f7c19..4489015 100755 --- a/README.md +++ b/README.md @@ -37,7 +37,61 @@ composer check-platform-reqs ### install the vendors ```bash composer install +```#Funky Framadate API +Experimental REST backend in symfony 4 for Funky framadate frontend. +https://framagit.org/framasoft/framadate/funky-framadate-front + +Follow this guide to setup. +* run `composer install` +configure env by creating local env file +`cp .env .env.local` and edit the file variables to give access to database. + +## TODO: +* coordinate properties and paths to be more restful. + +return stack of votes when we want to get the configuration of one poll (see [doc/examples.md](doc/examples.md)) + +*** +### Requirements +You MUST have php version 7+ and [Composer](https://getcomposer.org/download/), and a database like Mysql, or postgresql, or mongodb, or any database that Doctrine can handle. +Setup access to database by creating a .env.local file, and fill the database user and password data. +you can check that the database connection works with the command: +```bash +php bin/console doctrine:schema:validate ``` + +## Getting started + +# Development +install dependencies with Composer + + +there are examples of request to make it all work in the [doc/examples.md](doc/examples.md). + +### Check prerequisites +```bash +composer check-platform-reqs +``` + +### install the vendors +```bash +composer install +``` +### configure database access in .env.local file +This project can use any database system, we provide config for mysql. + +If you need to setup mysql, a database and a user, read the [database_creation](doc/database_creation.md) doc. Before customizing your local environment config. +the .env.local file will not be versionned by git, so no risk to set the mysql credentials in here as long as file access are well done. + +You can copy the model env file and customize it last line to access mysql. +```bash +cp doc/env-example .env.local +``` +look for the line like this +> DATABASE_URL=mysql://framadate-admin:framadate-admin-password@127.0.0.1:5432/framadate-api + + and change its values for `framadate-admin` , `framadate-admin-password`, `framadate-api`. + ### initiate the database with fixtures ```bash php bin/console doctrine:schema:drop --force diff --git a/composer.lock b/composer.lock index 3ce73d0..c179f29 100755 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "composer/package-versions-deprecated", - "version": "1.11.99", + "version": "1.11.99.1", "source": { "type": "git", "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855" + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855", - "reference": "c8c9aa8a14cc3d3bec86d0a8c3fa52ea79936855", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6", "shasum": "" }, "require": { @@ -59,25 +59,7 @@ } ], "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", - "support": { - "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/master" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2020-08-25T05:50:16+00:00" + "time": "2020-11-11T10:22:58+00:00" }, { "name": "doctrine/annotations", @@ -148,10 +130,6 @@ "docblock", "parser" ], - "support": { - "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.11.1" - }, "time": "2020-10-26T10:28:16+00:00" }, { @@ -234,24 +212,6 @@ "redis", "xcache" ], - "support": { - "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/1.10.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcache", - "type": "tidelift" - } - ], "time": "2020-07-07T18:54:01+00:00" }, { @@ -317,10 +277,6 @@ "iterators", "php" ], - "support": { - "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/1.6.7" - }, "time": "2020-07-27T17:53:49+00:00" }, { @@ -404,38 +360,20 @@ "doctrine", "php" ], - "support": { - "issues": "https://github.com/doctrine/common/issues", - "source": "https://github.com/doctrine/common/tree/2.13.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcommon", - "type": "tidelift" - } - ], "time": "2020-06-05T16:46:05+00:00" }, { "name": "doctrine/dbal", - "version": "2.12.0", + "version": "2.12.1", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "c6d37b4c42aaa3c3ee175f05eca68056f4185646" + "reference": "adce7a954a1c2f14f85e94aed90c8489af204086" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/c6d37b4c42aaa3c3ee175f05eca68056f4185646", - "reference": "c6d37b4c42aaa3c3ee175f05eca68056f4185646", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/adce7a954a1c2f14f85e94aed90c8489af204086", + "reference": "adce7a954a1c2f14f85e94aed90c8489af204086", "shasum": "" }, "require": { @@ -515,38 +453,20 @@ "sqlserver", "sqlsrv" ], - "support": { - "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/2.12.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal", - "type": "tidelift" - } - ], - "time": "2020-10-22T17:26:24+00:00" + "time": "2020-11-14T20:26:58+00:00" }, { "name": "doctrine/doctrine-bundle", - "version": "2.1.2", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "f5153089993e1230f5d8acbd8e126014d5a63e17" + "reference": "9e07bb1ff35d35d9ec4597b79e5d05502d7d4d43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/f5153089993e1230f5d8acbd8e126014d5a63e17", - "reference": "f5153089993e1230f5d8acbd8e126014d5a63e17", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/9e07bb1ff35d35d9ec4597b79e5d05502d7d4d43", + "reference": "9e07bb1ff35d35d9ec4597b79e5d05502d7d4d43", "shasum": "" }, "require": { @@ -567,10 +487,10 @@ "twig/twig": "<1.34|>=2.0,<2.4" }, "require-dev": { - "doctrine/coding-standard": "^6.0", + "doctrine/coding-standard": "^8.0", "doctrine/orm": "^2.6", "ocramius/proxy-manager": "^2.1", - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^7.5 || ^9.3", "symfony/phpunit-bridge": "^4.2", "symfony/property-info": "^4.3.3|^5.0", "symfony/proxy-manager-bridge": "^3.4|^4.3.3|^5.0", @@ -578,7 +498,7 @@ "symfony/validator": "^3.4.30|^4.3.3|^5.0", "symfony/web-profiler-bundle": "^3.4.30|^4.3.3|^5.0", "symfony/yaml": "^3.4.30|^4.3.3|^5.0", - "twig/twig": "^1.34|^2.12" + "twig/twig": "^1.34|^2.12|^3.0" }, "suggest": { "doctrine/orm": "The Doctrine ORM integration is optional in the bundle.", @@ -587,7 +507,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "2.3.x-dev" } }, "autoload": { @@ -625,38 +545,20 @@ "orm", "persistence" ], - "support": { - "issues": "https://github.com/doctrine/DoctrineBundle/issues", - "source": "https://github.com/doctrine/DoctrineBundle/tree/2.1.2" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdoctrine-bundle", - "type": "tidelift" - } - ], - "time": "2020-08-25T10:57:15+00:00" + "time": "2020-11-10T20:42:15+00:00" }, { "name": "doctrine/doctrine-migrations-bundle", - "version": "2.2.0", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineMigrationsBundle.git", - "reference": "5efa29df768abaafe29b34e73dac68efbedcaa4d" + "reference": "955077b68c377310cf9538fc982be11d36ab75d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/5efa29df768abaafe29b34e73dac68efbedcaa4d", - "reference": "5efa29df768abaafe29b34e73dac68efbedcaa4d", + "url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/955077b68c377310cf9538fc982be11d36ab75d4", + "reference": "955077b68c377310cf9538fc982be11d36ab75d4", "shasum": "" }, "require": { @@ -711,25 +613,7 @@ "migrations", "schema" ], - "support": { - "issues": "https://github.com/doctrine/DoctrineMigrationsBundle/issues", - "source": "https://github.com/doctrine/DoctrineMigrationsBundle/tree/2.2.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdoctrine-migrations-bundle", - "type": "tidelift" - } - ], - "time": "2020-06-25T19:36:08+00:00" + "time": "2020-11-11T09:59:06+00:00" }, { "name": "doctrine/event-manager", @@ -805,24 +689,6 @@ "event system", "events" ], - "support": { - "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/1.1.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager", - "type": "tidelift" - } - ], "time": "2020-05-29T18:28:51+00:00" }, { @@ -901,58 +767,35 @@ "uppercase", "words" ], - "support": { - "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/1.4.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", - "type": "tidelift" - } - ], "time": "2020-05-29T07:19:59+00:00" }, { "name": "doctrine/instantiator", - "version": "1.3.1", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea" + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", + "doctrine/coding-standard": "^8.0", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.13", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-shim": "^0.11", - "phpunit/phpunit": "^7.0" + "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" @@ -966,7 +809,7 @@ { "name": "Marco Pivetta", "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "homepage": "https://ocramius.github.io/" } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", @@ -975,25 +818,7 @@ "constructor", "instantiate" ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.3.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2020-05-29T17:27:14+00:00" + "time": "2020-11-10T18:47:58+00:00" }, { "name": "doctrine/lexer", @@ -1055,43 +880,25 @@ "parser", "php" ], - "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", - "type": "tidelift" - } - ], "time": "2020-05-25T17:44:05+00:00" }, { "name": "doctrine/migrations", - "version": "2.2.1", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/doctrine/migrations.git", - "reference": "a3987131febeb0e9acb3c47ab0df0af004588934" + "reference": "100e85a8509b521f010901890f042e9401a3043b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/migrations/zipball/a3987131febeb0e9acb3c47ab0df0af004588934", - "reference": "a3987131febeb0e9acb3c47ab0df0af004588934", + "url": "https://api.github.com/repos/doctrine/migrations/zipball/100e85a8509b521f010901890f042e9401a3043b", + "reference": "100e85a8509b521f010901890f042e9401a3043b", "shasum": "" }, "require": { + "composer/package-versions-deprecated": "^1.8", "doctrine/dbal": "^2.9", - "ocramius/package-versions": "^1.3", "ocramius/proxy-manager": "^2.0.2", "php": "^7.1", "symfony/console": "^3.4||^4.0||^5.0", @@ -1155,11 +962,7 @@ "migrations", "php" ], - "support": { - "issues": "https://github.com/doctrine/migrations/issues", - "source": "https://github.com/doctrine/migrations/tree/2.2.x" - }, - "time": "2019-12-04T06:09:14+00:00" + "time": "2020-07-04T16:28:35+00:00" }, { "name": "doctrine/orm", @@ -1247,10 +1050,6 @@ "database", "orm" ], - "support": { - "issues": "https://github.com/doctrine/orm/issues", - "source": "https://github.com/doctrine/orm/tree/2.7.4" - }, "time": "2020-10-10T17:11:26+00:00" }, { @@ -1335,24 +1134,6 @@ "orm", "persistence" ], - "support": { - "issues": "https://github.com/doctrine/persistence/issues", - "source": "https://github.com/doctrine/persistence/tree/1.3.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fpersistence", - "type": "tidelift" - } - ], "time": "2020-06-20T12:56:16+00:00" }, { @@ -1431,10 +1212,7 @@ "reflection", "static" ], - "support": { - "issues": "https://github.com/doctrine/reflection/issues", - "source": "https://github.com/doctrine/reflection/tree/1.2.2" - }, + "abandoned": "roave/better-reflection", "time": "2020-10-27T21:46:55+00:00" }, { @@ -1488,24 +1266,20 @@ "highlight", "sql" ], - "support": { - "issues": "https://github.com/doctrine/sql-formatter/issues", - "source": "https://github.com/doctrine/sql-formatter/tree/1.1.x" - }, "time": "2020-07-30T16:57:33+00:00" }, { "name": "egulias/email-validator", - "version": "2.1.22", + "version": "2.1.24", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5" + "reference": "ca90a3291eee1538cd48ff25163240695bd95448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5", - "reference": "68e418ec08fbfc6f58f6fd2eea70ca8efc8cc7d5", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ca90a3291eee1538cd48ff25163240695bd95448", + "reference": "ca90a3291eee1538cd48ff25163240695bd95448", "shasum": "" }, "require": { @@ -1550,11 +1324,7 @@ "validation", "validator" ], - "support": { - "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/2.1.22" - }, - "time": "2020-09-26T15:48:38+00:00" + "time": "2020-11-14T15:56:27+00:00" }, { "name": "friendsofsymfony/rest-bundle", @@ -1660,10 +1430,6 @@ "keywords": [ "rest" ], - "support": { - "issues": "https://github.com/FriendsOfSymfony/FOSRestBundle/issues", - "source": "https://github.com/FriendsOfSymfony/FOSRestBundle/tree/2.8.3" - }, "time": "2020-09-10T06:51:53+00:00" }, { @@ -1722,24 +1488,20 @@ "xml", "yaml" ], - "support": { - "issues": "https://github.com/schmittjoh/metadata/issues", - "source": "https://github.com/schmittjoh/metadata/tree/master" - }, "time": "2020-06-06T16:52:59+00:00" }, { "name": "jms/serializer", - "version": "3.9.0", + "version": "3.10.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/serializer.git", - "reference": "4fe470c179ae8da9e243dd8fac6c0fc2302d9378" + "reference": "0ed0b6aa79cc029772286f2dc262f6933674b0ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/4fe470c179ae8da9e243dd8fac6c0fc2302d9378", - "reference": "4fe470c179ae8da9e243dd8fac6c0fc2302d9378", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/0ed0b6aa79cc029772286f2dc262f6933674b0ec", + "reference": "0ed0b6aa79cc029772286f2dc262f6933674b0ec", "shasum": "" }, "require": { @@ -1750,7 +1512,7 @@ "php": "^7.2" }, "require-dev": { - "doctrine/coding-standard": "^5.0", + "doctrine/coding-standard": "^8.1", "doctrine/orm": "~2.1", "doctrine/persistence": "^1.3.3|^2.0|^3.0", "doctrine/phpcr-odm": "^1.3|^2.0", @@ -1776,7 +1538,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.9-dev" + "dev-master": "3.10-dev" } }, "autoload": { @@ -1807,17 +1569,7 @@ "serialization", "xml" ], - "support": { - "issues": "https://github.com/schmittjoh/serializer/issues", - "source": "https://github.com/schmittjoh/serializer/tree/master" - }, - "funding": [ - { - "url": "https://github.com/goetas", - "type": "github" - } - ], - "time": "2020-08-26T07:23:26+00:00" + "time": "2020-10-29T20:24:00+00:00" }, { "name": "jms/serializer-bundle", @@ -1891,62 +1643,45 @@ "serialization", "xml" ], - "support": { - "issues": "https://github.com/schmittjoh/JMSSerializerBundle/issues", - "source": "https://github.com/schmittjoh/JMSSerializerBundle/tree/master" - }, - "funding": [ - { - "url": "https://github.com/goetas", - "type": "github" - } - ], "time": "2020-06-28T11:26:21+00:00" }, { "name": "laminas/laminas-code", - "version": "3.4.1", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-code.git", - "reference": "1cb8f203389ab1482bf89c0e70a04849bacd7766" + "reference": "cb90ef428da9260c2deaa827b037c20695f968ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/1cb8f203389ab1482bf89c0e70a04849bacd7766", - "reference": "1cb8f203389ab1482bf89c0e70a04849bacd7766", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/cb90ef428da9260c2deaa827b037c20695f968ae", + "reference": "cb90ef428da9260c2deaa827b037c20695f968ae", "shasum": "" }, "require": { - "laminas/laminas-eventmanager": "^2.6 || ^3.0", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.1" + "laminas/laminas-eventmanager": "^3.3", + "laminas/laminas-zendframework-bridge": "^1.1", + "php": "^7.3 || ~8.0.0" }, "conflict": { "phpspec/prophecy": "<1.9.0" }, "replace": { - "zendframework/zend-code": "self.version" + "zendframework/zend-code": "^3.4.1" }, "require-dev": { - "doctrine/annotations": "^1.7", + "doctrine/annotations": "^1.10.4", "ext-phar": "*", - "laminas/laminas-coding-standard": "^1.0", - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "phpunit/phpunit": "^7.5.16 || ^8.4" + "laminas/laminas-coding-standard": "^1.0.0", + "laminas/laminas-stdlib": "^3.3.0", + "phpunit/phpunit": "^9.4.2" }, "suggest": { "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features", "laminas/laminas-stdlib": "Laminas\\Stdlib component" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4.x-dev", - "dev-develop": "3.5.x-dev", - "dev-dev-4.0": "4.0.x-dev" - } - }, "autoload": { "psr-4": { "Laminas\\Code\\": "src/" @@ -1962,15 +1697,7 @@ "code", "laminas" ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-code/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-code/issues", - "rss": "https://github.com/laminas/laminas-code/releases.atom", - "source": "https://github.com/laminas/laminas-code" - }, - "time": "2019-12-31T16:28:24+00:00" + "time": "2020-11-11T22:11:27+00:00" }, { "name": "laminas/laminas-eventmanager", @@ -2028,20 +1755,6 @@ "events", "laminas" ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-eventmanager/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-eventmanager/issues", - "rss": "https://github.com/laminas/laminas-eventmanager/releases.atom", - "source": "https://github.com/laminas/laminas-eventmanager" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], "time": "2020-08-25T11:10:44+00:00" }, { @@ -2090,18 +1803,6 @@ "laminas", "zf" ], - "support": { - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-zendframework-bridge/issues", - "rss": "https://github.com/laminas/laminas-zendframework-bridge/releases.atom", - "source": "https://github.com/laminas/laminas-zendframework-bridge" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], "time": "2020-09-14T14:23:00+00:00" }, { @@ -2193,10 +1894,6 @@ "documentation", "rest" ], - "support": { - "issues": "https://github.com/nelmio/NelmioApiDocBundle/issues", - "source": "https://github.com/nelmio/NelmioApiDocBundle/tree/v4.0.1" - }, "time": "2020-09-29T10:31:37+00:00" }, { @@ -2254,10 +1951,6 @@ "cors", "crossdomain" ], - "support": { - "issues": "https://github.com/nelmio/NelmioCorsBundle/issues", - "source": "https://github.com/nelmio/NelmioCorsBundle/tree/2.1.0" - }, "time": "2020-07-22T11:44:28+00:00" }, { @@ -2310,29 +2003,25 @@ "parser", "php" ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2" - }, "time": "2020-09-26T10:30:38+00:00" }, { "name": "ocramius/proxy-manager", - "version": "2.9.1", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/Ocramius/ProxyManager.git", - "reference": "7452942d38ae36223b0f8408619181f69799eb5c" + "reference": "ac1dd414fd114cfc0da9930e0ab46063c2f5e62a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Ocramius/ProxyManager/zipball/7452942d38ae36223b0f8408619181f69799eb5c", - "reference": "7452942d38ae36223b0f8408619181f69799eb5c", + "url": "https://api.github.com/repos/Ocramius/ProxyManager/zipball/ac1dd414fd114cfc0da9930e0ab46063c2f5e62a", + "reference": "ac1dd414fd114cfc0da9930e0ab46063c2f5e62a", "shasum": "" }, "require": { - "composer-runtime-api": "^2.0.0", "laminas/laminas-code": "^3.4.1", + "ocramius/package-versions": "^1.8.0", "php": "~7.4.1", "webimpress/safe-writer": "^2.0.1" }, @@ -2342,16 +2031,15 @@ "zendframework/zend-stdlib": "<3.2.1" }, "require-dev": { - "codelicia/xulieta": "^0.1.2", - "doctrine/coding-standard": "^8.1.0", + "doctrine/coding-standard": "^6.0.0", "ext-phar": "*", - "infection/infection": "^0.16.4", - "nikic/php-parser": "^4.6.0", - "phpbench/phpbench": "^0.17.1", - "phpunit/phpunit": "^9.2.5", - "slevomat/coding-standard": "^6.3.10", - "squizlabs/php_codesniffer": "^3.5.5", - "vimeo/psalm": "^3.12.2" + "infection/infection": "^0.16.2", + "nikic/php-parser": "^4.4.0", + "phpbench/phpbench": "^0.17.0", + "phpunit/phpunit": "^9.1.1", + "slevomat/coding-standard": "^5.0.4", + "squizlabs/php_codesniffer": "^3.5.4", + "vimeo/psalm": "^3.11.1" }, "suggest": { "laminas/laminas-json": "To have the JsonRpc adapter (Remote Object feature)", @@ -2390,21 +2078,7 @@ "proxy pattern", "service proxies" ], - "support": { - "issues": "https://github.com/Ocramius/ProxyManager/issues", - "source": "https://github.com/Ocramius/ProxyManager/tree/2.9.1" - }, - "funding": [ - { - "url": "https://github.com/Ocramius", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ocramius/proxy-manager", - "type": "tidelift" - } - ], - "time": "2020-08-26T16:19:12+00:00" + "time": "2020-04-13T14:42:16+00:00" }, { "name": "overblog/graphql-bundle", @@ -2487,10 +2161,6 @@ "Relay", "graphql" ], - "support": { - "issues": "https://github.com/overblog/GraphQLBundle/issues", - "source": "https://github.com/overblog/GraphQLBundle/tree/0.13" - }, "time": "2020-08-17T15:22:39+00:00" }, { @@ -2540,10 +2210,6 @@ "reflection", "static analysis" ], - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" - }, "time": "2020-06-27T09:03:43+00:00" }, { @@ -2596,10 +2262,6 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" - }, "time": "2020-09-03T19:13:55+00:00" }, { @@ -2645,10 +2307,6 @@ } ], "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", - "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" - }, "time": "2020-09-17T18:55:26+00:00" }, { @@ -2695,9 +2353,6 @@ "psr", "psr-6" ], - "support": { - "source": "https://github.com/php-fig/cache/tree/master" - }, "time": "2016-08-06T20:24:11+00:00" }, { @@ -2747,10 +2402,6 @@ "container-interop", "psr" ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/master" - }, "time": "2017-02-14T16:28:37+00:00" }, { @@ -2798,9 +2449,6 @@ "psr", "psr-3" ], - "support": { - "source": "https://github.com/php-fig/log/tree/1.1.3" - }, "time": "2020-03-23T09:12:05+00:00" }, { @@ -2879,10 +2527,6 @@ "annotations", "controllers" ], - "support": { - "issues": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues", - "source": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/tree/v5.5.3" - }, "time": "2019-12-27T08:57:19+00:00" }, { @@ -2945,10 +2589,6 @@ "mail", "mailer" ], - "support": { - "issues": "https://github.com/swiftmailer/swiftmailer/issues", - "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.3" - }, "time": "2019-11-12T09:31:26+00:00" }, { @@ -3005,9 +2645,6 @@ ], "description": "Symfony Asset Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/asset/tree/v4.3.10" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -3086,9 +2723,6 @@ "caching", "psr6" ], - "support": { - "source": "https://github.com/symfony/cache/tree/v4.3.11" - }, "time": "2020-01-27T09:15:09+00:00" }, { @@ -3151,23 +2785,6 @@ "interoperability", "standards" ], - "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v1.1.10" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-09-02T16:08:58+00:00" }, { @@ -3232,9 +2849,6 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/config/tree/v4.3.10" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -3310,9 +2924,6 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/console/tree/v4.3.11" - }, "time": "2020-01-25T12:32:28+00:00" }, { @@ -3369,9 +2980,6 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/debug/tree/v4.3.11" - }, "time": "2020-01-25T12:32:28+00:00" }, { @@ -3445,11 +3053,58 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v4.3.10" - }, "time": "2020-01-14T16:43:06+00:00" }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665", + "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "time": "2020-09-07T11:33:47+00:00" + }, { "name": "symfony/doctrine-bridge", "version": "v4.3.11", @@ -3539,9 +3194,6 @@ ], "description": "Symfony Doctrine Bridge", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/doctrine-bridge/tree/v4.3.11" - }, "time": "2020-01-23T10:55:13+00:00" }, { @@ -3599,9 +3251,6 @@ "env", "environment" ], - "support": { - "source": "https://github.com/symfony/dotenv/tree/v4.3.11" - }, "time": "2020-01-08T17:19:22+00:00" }, { @@ -3672,9 +3321,6 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v4.3.10" - }, "time": "2020-01-09T13:17:05+00:00" }, { @@ -3737,23 +3383,6 @@ "interoperability", "standards" ], - "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v1.1.9" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-07-06T13:19:58+00:00" }, { @@ -3805,9 +3434,6 @@ ], "description": "Symfony ExpressionLanguage Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/expression-language/tree/4.3" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -3858,9 +3484,6 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/filesystem/tree/v4.3.10" - }, "time": "2020-01-21T08:20:29+00:00" }, { @@ -3910,23 +3533,20 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/4.3" - }, "time": "2020-01-04T12:24:57+00:00" }, { "name": "symfony/flex", - "version": "v1.9.10", + "version": "v1.10.0", "source": { "type": "git", "url": "https://github.com/symfony/flex.git", - "reference": "7335ec033995aa34133e621627333368f260b626" + "reference": "e38520236bdc911c2f219634b485bc328746e980" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/flex/zipball/7335ec033995aa34133e621627333368f260b626", - "reference": "7335ec033995aa34133e621627333368f260b626", + "url": "https://api.github.com/repos/symfony/flex/zipball/e38520236bdc911c2f219634b485bc328746e980", + "reference": "e38520236bdc911c2f219634b485bc328746e980", "shasum": "" }, "require": { @@ -3962,25 +3582,7 @@ } ], "description": "Composer plugin for Symfony", - "support": { - "issues": "https://github.com/symfony/flex/issues", - "source": "https://github.com/symfony/flex/tree/v1.9.10" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-10-14T17:41:54+00:00" + "time": "2020-11-05T10:56:45+00:00" }, { "name": "symfony/form", @@ -4064,9 +3666,6 @@ ], "description": "Symfony Form Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/form/tree/4.3" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -4191,9 +3790,6 @@ ], "description": "Symfony FrameworkBundle", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/framework-bundle/tree/v4.3.11" - }, "time": "2020-01-14T14:28:35+00:00" }, { @@ -4249,9 +3845,6 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/http-foundation/tree/v4.3.11" - }, "time": "2020-01-31T09:10:37+00:00" }, { @@ -4344,9 +3937,6 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/http-kernel/tree/4.3" - }, "time": "2020-01-31T12:38:38+00:00" }, { @@ -4405,9 +3995,6 @@ "symfony", "words" ], - "support": { - "source": "https://github.com/symfony/inflector/tree/v4.3.11" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -4483,9 +4070,6 @@ "l10n", "localization" ], - "support": { - "source": "https://github.com/symfony/intl/tree/v4.3.11" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -4548,32 +4132,30 @@ ], "description": "Symfony Mailer Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/mailer/tree/4.3" - }, "time": "2020-01-01T11:51:43+00:00" }, { "name": "symfony/maker-bundle", - "version": "v1.22.0", + "version": "v1.24.1", "source": { "type": "git", "url": "https://github.com/symfony/maker-bundle.git", - "reference": "430a9f6d5d2d60672337859c7833c0acc7ec05db" + "reference": "40b49abf01810453f73e3e239759f1736607f029" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/430a9f6d5d2d60672337859c7833c0acc7ec05db", - "reference": "430a9f6d5d2d60672337859c7833c0acc7ec05db", + "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/40b49abf01810453f73e3e239759f1736607f029", + "reference": "40b49abf01810453f73e3e239759f1736607f029", "shasum": "" }, "require": { "doctrine/inflector": "^1.2", "nikic/php-parser": "^4.0", - "php": "^7.1.3", + "php": ">=7.1.3", "symfony/config": "^3.4|^4.0|^5.0", "symfony/console": "^3.4|^4.0|^5.0", "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/deprecation-contracts": "^2.2", "symfony/filesystem": "^3.4|^4.0|^5.0", "symfony/finder": "^3.4|^4.0|^5.0", "symfony/framework-bundle": "^3.4|^4.0|^5.0", @@ -4594,7 +4176,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "1.0-dev" } }, "autoload": { @@ -4620,25 +4202,7 @@ "scaffold", "scaffolding" ], - "support": { - "issues": "https://github.com/symfony/maker-bundle/issues", - "source": "https://github.com/symfony/maker-bundle/tree/v1.22.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-10-23T00:59:45+00:00" + "time": "2020-11-25T17:19:22+00:00" }, { "name": "symfony/mime", @@ -4697,9 +4261,6 @@ "mime", "mime-type" ], - "support": { - "source": "https://github.com/symfony/mime/tree/v4.3.11" - }, "time": "2020-01-01T11:51:43+00:00" }, { @@ -4754,9 +4315,6 @@ "configuration", "options" ], - "support": { - "source": "https://github.com/symfony/options-resolver/tree/4.3" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -4786,24 +4344,6 @@ "MIT" ], "description": "A pack for the Doctrine ORM", - "support": { - "issues": "https://github.com/symfony/orm-pack/issues", - "source": "https://github.com/symfony/orm-pack/tree/v1.2.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-08-31T10:20:18+00:00" }, { @@ -4866,23 +4406,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.20.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -4953,23 +4476,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.20.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5037,23 +4543,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.20.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5117,23 +4606,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.20.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5193,23 +4665,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.20.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5272,23 +4727,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.20.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5356,9 +4794,6 @@ "property path", "reflection" ], - "support": { - "source": "https://github.com/symfony/property-access/tree/v4.3.11" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -5435,9 +4870,6 @@ "type", "validator" ], - "support": { - "source": "https://github.com/symfony/property-info/tree/v4.3.10" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -5514,9 +4946,6 @@ "uri", "url" ], - "support": { - "source": "https://github.com/symfony/routing/tree/v4.3.11" - }, "time": "2020-01-08T14:00:15+00:00" }, { @@ -5589,9 +5018,6 @@ ], "description": "Symfony Security Component - Core Library", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/security-core/tree/v4.3.11" - }, "time": "2020-01-31T09:10:37+00:00" }, { @@ -5651,9 +5077,6 @@ ], "description": "Symfony Security Component - CSRF Library", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/security-csrf/tree/v4.3.10" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -5716,23 +5139,6 @@ "interoperability", "standards" ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v1.1.9" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-07-06T13:19:58+00:00" }, { @@ -5783,9 +5189,6 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/stopwatch/tree/v4.3.10" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -5851,10 +5254,6 @@ ], "description": "Symfony SwiftmailerBundle", "homepage": "http://symfony.com", - "support": { - "issues": "https://github.com/symfony/swiftmailer-bundle/issues", - "source": "https://github.com/symfony/swiftmailer-bundle/tree/v3.4.0" - }, "time": "2019-11-14T16:18:31+00:00" }, { @@ -5916,23 +5315,6 @@ "interoperability", "standards" ], - "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v1.1.10" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-09-02T16:08:58+00:00" }, { @@ -6034,9 +5416,6 @@ ], "description": "Symfony Twig Bridge", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v4.3.10" - }, "time": "2020-01-08T17:19:22+00:00" }, { @@ -6114,9 +5493,6 @@ ], "description": "Symfony TwigBundle", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/twig-bundle/tree/v4.3.11" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -6210,9 +5586,6 @@ ], "description": "Symfony Validator Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/validator/tree/v4.3.11" - }, "time": "2020-01-31T09:10:37+00:00" }, { @@ -6273,27 +5646,24 @@ "instantiate", "serialize" ], - "support": { - "source": "https://github.com/symfony/var-exporter/tree/v4.3.11" - }, "time": "2020-01-01T11:51:43+00:00" }, { "name": "symfony/webpack-encore-bundle", - "version": "v1.7.3", + "version": "v1.8.0", "source": { "type": "git", "url": "https://github.com/symfony/webpack-encore-bundle.git", - "reference": "5c0f659eceae87271cce54bbdfb05ed8ec9007bd" + "reference": "c879bc50c69f6b4f2984b2bb5fe8190bbc5befdd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/webpack-encore-bundle/zipball/5c0f659eceae87271cce54bbdfb05ed8ec9007bd", - "reference": "5c0f659eceae87271cce54bbdfb05ed8ec9007bd", + "url": "https://api.github.com/repos/symfony/webpack-encore-bundle/zipball/c879bc50c69f6b4f2984b2bb5fe8190bbc5befdd", + "reference": "c879bc50c69f6b4f2984b2bb5fe8190bbc5befdd", "shasum": "" }, "require": { - "php": "^7.1.3", + "php": ">=7.1.3", "symfony/asset": "^3.4 || ^4.0 || ^5.0", "symfony/config": "^3.4 || ^4.0 || ^5.0", "symfony/dependency-injection": "^3.4 || ^4.0 || ^5.0", @@ -6329,11 +5699,7 @@ } ], "description": "Integration with your Symfony app & Webpack Encore!", - "support": { - "issues": "https://github.com/symfony/webpack-encore-bundle/issues", - "source": "https://github.com/symfony/webpack-encore-bundle/tree/master" - }, - "time": "2020-01-31T15:31:59+00:00" + "time": "2020-10-28T17:07:25+00:00" }, { "name": "symfony/yaml", @@ -6392,9 +5758,6 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/yaml/tree/4.3" - }, "time": "2020-01-21T11:09:03+00:00" }, { @@ -6460,20 +5823,6 @@ "keywords": [ "templating" ], - "support": { - "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v2.14.1" - }, - "funding": [ - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/twig/twig", - "type": "tidelift" - } - ], "time": "2020-10-27T19:25:29+00:00" }, { @@ -6523,16 +5872,6 @@ "safe writer", "webimpress" ], - "support": { - "issues": "https://github.com/webimpress/safe-writer/issues", - "source": "https://github.com/webimpress/safe-writer/tree/master" - }, - "funding": [ - { - "url": "https://github.com/michalbundyra", - "type": "github" - } - ], "time": "2020-08-25T07:21:11+00:00" }, { @@ -6582,10 +5921,6 @@ "check", "validate" ], - "support": { - "issues": "https://github.com/webmozart/assert/issues", - "source": "https://github.com/webmozart/assert/tree/master" - }, "time": "2020-07-08T17:02:28+00:00" }, { @@ -6638,16 +5973,6 @@ "api", "graphql" ], - "support": { - "issues": "https://github.com/webonyx/graphql-php/issues", - "source": "https://github.com/webonyx/graphql-php/tree/0.13.x" - }, - "funding": [ - { - "url": "https://opencollective.com/webonyx-graphql-php", - "type": "open_collective" - } - ], "time": "2020-07-02T05:49:25+00:00" }, { @@ -6688,10 +6013,6 @@ } ], "description": "JSONP callback validator.", - "support": { - "issues": "https://github.com/willdurand/JsonpCallbackValidator/issues", - "source": "https://github.com/willdurand/JsonpCallbackValidator/tree/master" - }, "time": "2014-01-20T22:35:06+00:00" }, { @@ -6744,10 +6065,6 @@ "header", "negotiation" ], - "support": { - "issues": "https://github.com/willdurand/Negotiation/issues", - "source": "https://github.com/willdurand/Negotiation/tree/2.x" - }, "time": "2017-05-14T17:21:12+00:00" }, { @@ -6815,10 +6132,6 @@ "rest", "service discovery" ], - "support": { - "issues": "https://github.com/zircote/swagger-php/issues", - "source": "https://github.com/zircote/swagger-php/tree/3.1.0" - }, "time": "2020-09-03T20:18:43+00:00" } ], @@ -6884,45 +6197,27 @@ "keywords": [ "database" ], - "support": { - "issues": "https://github.com/doctrine/data-fixtures/issues", - "source": "https://github.com/doctrine/data-fixtures/tree/1.4.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdata-fixtures", - "type": "tidelift" - } - ], "time": "2020-09-01T07:13:28+00:00" }, { "name": "doctrine/doctrine-fixtures-bundle", - "version": "3.3.2", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineFixturesBundle.git", - "reference": "a2179f447425d9e784fb9bc224e533a0ab083b98" + "reference": "870189619a7770f468ffb0b80925302e065a3b34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/a2179f447425d9e784fb9bc224e533a0ab083b98", - "reference": "a2179f447425d9e784fb9bc224e533a0ab083b98", + "url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/870189619a7770f468ffb0b80925302e065a3b34", + "reference": "870189619a7770f468ffb0b80925302e065a3b34", "shasum": "" }, "require": { "doctrine/data-fixtures": "^1.3", "doctrine/doctrine-bundle": "^1.11|^2.0", "doctrine/orm": "^2.6.0", - "doctrine/persistence": "^1.3|^2.0", + "doctrine/persistence": "^1.3.7|^2.0", "php": "^7.1 || ^8.0", "symfony/config": "^3.4|^4.3|^5.0", "symfony/console": "^3.4|^4.3|^5.0", @@ -6932,15 +6227,10 @@ }, "require-dev": { "doctrine/coding-standard": "^6.0", - "phpunit/phpunit": "^7.4 || ^9.2", + "phpunit/phpunit": "^7.4 || ^8.0 || ^9.2", "symfony/phpunit-bridge": "^4.1|^5.0" }, "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "3.3.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Bundle\\FixturesBundle\\": "" @@ -6970,25 +6260,7 @@ "Fixture", "persistence" ], - "support": { - "issues": "https://github.com/doctrine/DoctrineFixturesBundle/issues", - "source": "https://github.com/doctrine/DoctrineFixturesBundle/tree/3.3.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdoctrine-fixtures-bundle", - "type": "tidelift" - } - ], - "time": "2020-09-01T07:06:14+00:00" + "time": "2020-11-14T09:36:49+00:00" }, { "name": "liip/test-fixtures-bundle", @@ -7059,10 +6331,6 @@ "symfony", "testing" ], - "support": { - "issues": "https://github.com/liip/LiipTestFixturesBundle/issues", - "source": "https://github.com/liip/LiipTestFixturesBundle/tree/1.10.0" - }, "time": "2020-10-12T11:49:46+00:00" }, { @@ -7122,9 +6390,6 @@ ], "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/browser-kit/tree/v4.3.11" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -7186,9 +6451,6 @@ ], "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dom-crawler/tree/4.3" - }, "time": "2020-01-04T12:24:57+00:00" }, { @@ -7254,23 +6516,6 @@ ], "description": "Symfony PHPUnit Bridge", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/phpunit-bridge/tree/v5.1.8" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-24T15:53:55+00:00" }, { @@ -7320,9 +6565,6 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/process/tree/v4.3.10" - }, "time": "2020-01-09T09:39:05+00:00" }, { @@ -7382,9 +6624,6 @@ ], "description": "Symfony WebServerBundle", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/web-server-bundle/tree/4.3" - }, "time": "2020-01-04T12:24:57+00:00" } ], @@ -7403,6 +6642,5 @@ "platform-dev": { "ext-mbstring": "*", "ext-pdo_sqlite": "*" - }, - "plugin-api-version": "2.0.0" + } } diff --git a/doc/database_creation.md b/doc/database_creation.md new file mode 100644 index 0000000..8386a3c --- /dev/null +++ b/doc/database_creation.md @@ -0,0 +1,13 @@ +#Database setup + +In the mysql prompt, to create a new user and a dedicated database, run this: +``` +CREATE DATABASE IF NOT EXISTS framadate_api; +CREATE USER 'framadate-admin'@'localhost' IDENTIFIED BY 'framadate-admin-password'; +GRANT ALL PRIVILEGES ON framadate_api.* TO 'framadate-admin'@'localhost'; +FLUSH PRIVILEGES; +SHOW GRANTS FOR 'framadate-admin'@'localhost'; +SHOW DATABASES; +``` + +now you have your config ready to host Framadate API. diff --git a/doc/env-example b/doc/env-example new file mode 100755 index 0000000..14a6bf4 --- /dev/null +++ b/doc/env-example @@ -0,0 +1,53 @@ +# In all environments, the following files are loaded if they exist, +# the latter taking precedence over the former: +# +# * .env contains default values for the environment variables needed by the app +# * .env.local uncommitted file with local overrides +# * .env.$APP_ENV committed environment-specific defaults +# * .env.$APP_ENV.local uncommitted environment-specific overrides +# +# Real environment variables win over .env files. +# +# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. +# +# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). +# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration + +###> symfony/framework-bundle ### +APP_ENV=dev +ADMIN_TOKEN=CHANGE_THIS_STRING_HERE +APP_SECRET=CHANGE_THIS_STRING_THERE +# Base website url, should contain https:// and having no trailing slash. example: BASE_URL=https://framadate.org +BASE_URL=https://localhost +WEBSITE_NAME=Framadate_2 +WEBSITE_LOGO=logo.svg +#TRUSTED_PROXIES=127.0.0.1,127.0.0.2 +#TRUSTED_HOSTS='^localhost|example\.com$' +###< symfony/framework-bundle ### + +###> doctrine/doctrine-bundle ### +# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url +# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" +# For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11" +# IMPORTANT: You MUST also configure your db driver and server_version in config/packages/doctrine.yaml +DATABASE_URL=mysql://framadate-admin:framadate-admin-password@127.0.0.1:5432/framadate-api +###< doctrine/doctrine-bundle ### + +###> nelmio/cors-bundle ### +CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$ +###< nelmio/cors-bundle ### + +###> symfony/swiftmailer-bundle ### +# For Gmail as a transport, use: "gmail://username:password@localhost" +# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" +# Delivery is disabled by default via "null://localhost" +MAILER_URL=sendmail://YOUR_WEBSITE +# set the support email who will answer users in case of emergency +SUPPORT_EMAIL=YOUR_EMAIL +###< symfony/swiftmailer-bundle ### + +###> symfony/mailer ### +MAILER_DSN=smtp://localhost +###< symfony/mailer ### + +DATABASE_URL=mysql://framadate-admin:framadate-admin-password@127.0.0.1:5432/framadate-api diff --git a/symfony.lock b/symfony.lock index cad7837..af95c06 100755 --- a/symfony.lock +++ b/symfony.lock @@ -1,4 +1,7 @@ { + "composer/package-versions-deprecated": { + "version": "1.11.99.1" + }, "doctrine/annotations": { "version": "1.0", "recipe": { @@ -300,6 +303,9 @@ "symfony/dependency-injection": { "version": "v4.3.5" }, + "symfony/deprecation-contracts": { + "version": "v2.2.0" + }, "symfony/doctrine-bridge": { "version": "v4.3.5" },