diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ - `swh.lister.npm` - `swh.lister.phabricator` - `swh.lister.cran` +- `swh.lister.packagist` Dependencies ------------ @@ -189,10 +190,11 @@ logging.basicConfig(level=logging.DEBUG) gnu_lister() +``` ## lister-cran -Once configured, you can execute a RCRAN lister using the following instructions in a `python3` script: +Once configured, you can execute a CRAN lister using the following instructions in a `python3` script: ```lang=python import logging @@ -202,6 +204,18 @@ cran_lister() ``` +## lister-packagist + +Once configured, you can execute a Packagist lister using the following instructions in a `python3` script: + +```lang=python +import logging +from swh.lister.packagist.tasks import packagist_lister + +logging.basicConfig(level=logging.DEBUG) +packagist_lister() +``` + Licensing --------- diff --git a/swh/lister/cli.py b/swh/lister/cli.py --- a/swh/lister/cli.py +++ b/swh/lister/cli.py @@ -12,7 +12,7 @@ logger = logging.getLogger(__name__) SUPPORTED_LISTERS = ['github', 'gitlab', 'bitbucket', 'debian', 'pypi', - 'npm', 'phabricator', 'gnu', 'cran'] + 'npm', 'phabricator', 'gnu', 'cran', 'packagist'] @click.group(name='lister', context_settings=CONTEXT_SETTINGS) @@ -125,6 +125,11 @@ from .cran.lister import CRANLister _lister = CRANLister(override_config=override_conf) + elif lister == 'packagist': + from .packagist.models import ModelBase + from .packagist.lister import PackagistLister + _lister = PackagistLister(override_config=override_conf) + else: raise ValueError( 'Invalid lister %s: only supported listers are %s' % diff --git a/swh/lister/core/tests/conftest.py b/swh/lister/core/tests/conftest.py --- a/swh/lister/core/tests/conftest.py +++ b/swh/lister/core/tests/conftest.py @@ -12,6 +12,7 @@ 'swh.lister.gitlab.tasks', 'swh.lister.gnu.tasks', 'swh.lister.npm.tasks', - 'swh.lister.pypi.tasks', + 'swh.lister.packagist.tasks', 'swh.lister.phabricator.tasks', + 'swh.lister.pypi.tasks', ] diff --git a/swh/lister/packagist/__init__.py b/swh/lister/packagist/__init__.py new file mode 100644 diff --git a/swh/lister/packagist/lister.py b/swh/lister/packagist/lister.py new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/lister.py @@ -0,0 +1,270 @@ +# Copyright (C) 2019 the Software Heritage developers +# License: GNU General Public License version 3, or any later version +# See top-level LICENSE file for more information + +import random +import requests +import json +from collections import defaultdict + +from .models import PackagistModel + +from swh.scheduler import utils +from swh.lister.core.simple_lister import SimpleLister + + +class PackagistLister(SimpleLister): + MODEL = PackagistModel + LISTER_NAME = 'packagist' + PAGE = 'https://packagist.org/packages/list.json' + instance = 'packagist' + tarballs = defaultdict(dict) # Dict of key with package name value the + # associated is list of tarballs of package to ingest + + def task_dict(self, origin_type, origin_url, **kwargs): + """Return task format dict + + This is overridden from the lister_base as more information is + needed for the ingestion task creation. + Some origin type are git or hg, hence it creates the task dict + for both packagist and other origin_types. + + """ + + if origin_type == 'packagist': + return utils.create_task_dict( + 'load-packagist', 'recurring', kwargs.get('name'), origin_url, + tarballs=self.tarballs[kwargs.get('name')]) + + return utils.create_task_dict('load-%s' % origin_type, 'recurring', + origin_url) + + def list_packages(self, response): + """List the actual packagist origins from the response. + + """ + packages = [] + for name in response['packageNames']: + pack_info = self.find_pack_info(name) + if pack_info != {}: + for package_name, package in pack_info.items(): + element = { + 'name': package_name, + 'source': package['source'] + } + packages.append(element) + self.tarballs[package_name] = package['release'] + random.shuffle(packages) + return packages + + def find_pack_info(self, package_name): + """ + Finds all the relese and source links for all the packages that are + present under the name of one package. For example ,a package + "monolog/monolog" is present in the list of packagesNames, but there + are two more package info present in the info page of monolog/monolog. + + Args: + package_name: name of a package from the whole list + + Returns: + Dict of all the release and source urls for all the packages + present in the info page of the package that is receives as an + argument + example - for package_name = 'monolog/monolog' + ``` + { + "monolog/monolog": { + "release": [ + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ + 433b98d4218c181bae01865901aac045585e8a1a", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ + 5e651a82b4b03d267da6084720ada0cd398c8d16", + "description": "Logging for PHP 5.3" + }, + ... + ]} + "notadd/wechat": { + "release": [ + { + "vcs": "zip", + "url": "https://api.github.com/repos/notadd/wechat/zipball/ + e3f684cd225f3fadf21953c0289cb8426baad0e5", + "description": "Notadd's Wechat Module." + }], + "source": [ + { + "vcs": "git", + "url": "https://github.com/notadd/wechat.git", + "description": "Notadd's Wechat Module." + }] + }, + "phpointless/monolol": { + "release": [ + { + "vcs": "zip", + "url": "https://api.github.com/repos/PHPointless/monolol/ + zipball/1991e6b72b52229dc43147fd2c208f21896021bb", + "description": "PSR-3 compliant lol-gger" + } + ], + "source": [ + { + "vcs": "git", + "url": "https://github.com/PHPointless/monolol.git", + "description": "PSR-3 compliant lol-gger" + } + ]}} + ``` + + """ + package_response = requests.get('https://repo.packagist.org/p/%s.json' + % package_name) + pack_info = defaultdict(dict) + try: + package_response = json.loads(package_response.text) + # Some packages page give 404 not found page hence try except is + # necessary + packages = package_response['packages'] + for package_name, package in packages.items(): + source_and_release = find_source_and_release(package) + if source_and_release is not None: + pack_info[package_name] = source_and_release + + return pack_info + except Exception: + return None + + def safely_issue_request(self, identifier): + """Make network request with retries, rate quotas, and response logs. + + Args: + identifier: resource identifier + Returns: + server response + """ + response = requests.get(self.PAGE) + return json.loads(response.text) + + def get_model_from_repo(self, repo): + """Transform from repository representation to model + + """ + return { + 'uid': repo['name'], + 'name': repo['name'], + 'full_name': repo['name'], + 'html_url': None, + 'origin_url': None, + 'origin_type': 'packagist', + 'description': None, + } + + def get_model_from_repo_for_source(self, repo): + """ + Transform from repository representation to model. As there could + more than one source link for a package, hence it returns a list + of models with all the source links. + + """ + model_list = [] + for source in repo['source']: + model_list.append({ + 'uid': repo['name'], + 'name': repo['name'], + 'full_name': repo['name'], + 'html_url': source['url'], + 'origin_url': source['url'], + 'origin_type': source['vcs'], + 'description': source['description']}) + return model_list + + def transport_response_simplified(self, response): + """Transform response to list for model manipulation + + """ + model_list = [] + for repo in response: + model_list.append(self.get_model_from_repo(repo)) + model_list.extend(self.get_model_from_repo_for_source(repo)) + return model_list + + +def make_dictionary(info, description): + return {'vcs': info['type'], + 'url': info['url'], + 'description': description} + + +def find_source_and_release(package): + """ + Finds all the relese and source links for a particular package + + Args: + package - a dict of all the info about all the versions of a + particular package. + + Returns: + A dict of all the source and release links for all the + version for a package + example - for package 'monolog/monolog' + ``` + { + "release": [ + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ + 433b98d4218c181bae01865901aac045585e8a1a", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ + 5e651a82b4b03d267da6084720ada0cd398c8d16", + "description": "Logging for PHP 5.3" + }, + ... + ] + "source": [ + { + "vcs": "git", + "url": "https://github.com/Seldaek/monolog.git", + "description": "Logging for PHP 5.3" + }, + ... + ] + } + ``` + """ + source_list = [] + release_list = [] + try: + # Some package return empty list insted of dictionary + # hence try except is necessary + for version, version_info in package.items(): + release = version_info['dist'] + source = version_info['source'] + description = version_info['description'] + if source is not None: + element = make_dictionary(source, description) + if element not in source_list: + source_list.append(element) + + if release is not None: + element = make_dictionary(release, description) + if element['vcs'] == 'zip': + release_list.append(element) + else: + # Some packages have their source link in the release key + if element not in source_list: + source_list.append(element) + + return {'release': release_list, 'source': source_list} + except Exception: + return None diff --git a/swh/lister/packagist/models.py b/swh/lister/packagist/models.py new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/models.py @@ -0,0 +1,16 @@ +# Copyright (C) 2019 the Software Heritage developers +# License: GNU General Public License version 3, or any later version +# See top-level LICENSE file for more information + +from sqlalchemy import Column, String + +from ..core.models import ModelBase + + +class PackagistModel(ModelBase): + """a Packagist repository representation + + """ + __tablename__ = 'packagist_repo' + + uid = Column(String, primary_key=True) diff --git a/swh/lister/packagist/tasks.py b/swh/lister/packagist/tasks.py new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/tasks.py @@ -0,0 +1,17 @@ +# Copyright (C) 2019 the Software Heritage developers +# License: GNU General Public License version 3, or any later version +# See top-level LICENSE file for more information + +from swh.scheduler.celery_backend.config import app + +from .lister import PackagistLister + + +@app.task(name=__name__ + '.PackagistListerTask') +def packagist_lister(**lister_args): + PackagistLister(**lister_args).run() + + +@app.task(name=__name__ + '.ping') +def ping(): + return 'OK' diff --git a/swh/lister/packagist/tests/__init__.py b/swh/lister/packagist/tests/__init__.py new file mode 100644 diff --git a/swh/lister/packagist/tests/conftest.py b/swh/lister/packagist/tests/conftest.py new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/tests/conftest.py @@ -0,0 +1 @@ +from swh.lister.core.tests.conftest import * # noqa diff --git a/swh/lister/packagist/tests/package.json b/swh/lister/packagist/tests/package.json new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/tests/package.json @@ -0,0 +1,2836 @@ +{ + "1.0.0": { + "name": "monolog/monolog", + "description": "Logging for PHP 5.3", + "keywords": [ + "log", + "logging" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "433b98d4218c181bae01865901aac045585e8a1a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/433b98d4218c181bae01865901aac045585e8a1a", + "reference": "433b98d4218c181bae01865901aac045585e8a1a", + "shasum": "" + }, + "type": "library", + "time": "2011-07-07T16:21:02+00:00", + "require": { + "php": ">=5.3.0" + }, + "uid": 5151 + }, + "1.0.0-RC1": { + "name": "monolog/monolog", + "description": "Logging for PHP 5.3", + "keywords": [ + "log", + "logging" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.0.0-RC1", + "version_normalized": "1.0.0.0-RC1", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "5e651a82b4b03d267da6084720ada0cd398c8d16" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5e651a82b4b03d267da6084720ada0cd398c8d16", + "reference": "5e651a82b4b03d267da6084720ada0cd398c8d16", + "shasum": "" + }, + "type": "library", + "time": "2011-07-01T19:29:40+00:00", + "require": { + "php": ">=5.3.0" + }, + "uid": 34388 + }, + "1.0.1": { + "name": "monolog/monolog", + "description": "Logging for PHP 5.3", + "keywords": [ + "log", + "logging" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "303b8a83c87d5c6d749926cf02620465a5dcd0f2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/303b8a83c87d5c6d749926cf02620465a5dcd0f2", + "reference": "303b8a83c87d5c6d749926cf02620465a5dcd0f2", + "shasum": "" + }, + "type": "library", + "time": "2011-08-25T20:42:58+00:00", + "require": { + "php": ">=5.3.0" + }, + "uid": 5152 + }, + "1.0.2": { + "name": "monolog/monolog", + "description": "Logging for PHP 5.3", + "keywords": [ + "log", + "logging" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.0.2", + "version_normalized": "1.0.2.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "b704c49a3051536f67f2d39f13568f74615b9922" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b704c49a3051536f67f2d39f13568f74615b9922", + "reference": "b704c49a3051536f67f2d39f13568f74615b9922", + "shasum": "" + }, + "type": "library", + "time": "2011-10-24T09:39:02+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "require": { + "php": ">=5.3.0" + }, + "uid": 5153 + }, + "1.1.0": { + "name": "monolog/monolog", + "description": "Logging for PHP 5.3", + "keywords": [ + "log", + "logging" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.1.0", + "version_normalized": "1.1.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "abc80e0db8ad31c03b373977fc997e980800f9c2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/abc80e0db8ad31c03b373977fc997e980800f9c2", + "reference": "abc80e0db8ad31c03b373977fc997e980800f9c2", + "shasum": "" + }, + "type": "library", + "time": "2012-04-23T16:27:40+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server" + }, + "uid": 11074 + }, + "1.10.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.10.0", + "version_normalized": "1.10.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "25b16e801979098cb2f120e697bfce454b18bf23" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/25b16e801979098cb2f120e697bfce454b18bf23", + "reference": "25b16e801979098cb2f120e697bfce454b18bf23", + "shasum": "" + }, + "type": "library", + "time": "2014-06-04T16:30:04+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.10.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~3.7.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "uid": 183340 + }, + "1.11.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.11.0", + "version_normalized": "1.11.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "ec3961874c43840e96da3a8a1ed20d8c73d7e5aa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ec3961874c43840e96da3a8a1ed20d8c73d7e5aa", + "reference": "ec3961874c43840e96da3a8a1ed20d8c73d7e5aa", + "shasum": "" + }, + "type": "library", + "time": "2014-09-30T13:30:58+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.11.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~3.7.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8", + "videlalvaro/php-amqplib": "~2.4" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 243161 + }, + "1.12.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.12.0", + "version_normalized": "1.12.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "1fbe8c2641f2b163addf49cc5e18f144bec6b19f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1fbe8c2641f2b163addf49cc5e18f144bec6b19f", + "reference": "1fbe8c2641f2b163addf49cc5e18f144bec6b19f", + "shasum": "" + }, + "type": "library", + "time": "2014-12-29T21:29:35+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.12.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8", + "videlalvaro/php-amqplib": "~2.4" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 296518 + }, + "1.13.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.13.0", + "version_normalized": "1.13.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "c41c218e239b50446fd883acb1ecfd4b770caeae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c41c218e239b50446fd883acb1ecfd4b770caeae", + "reference": "c41c218e239b50446fd883acb1ecfd4b770caeae", + "shasum": "" + }, + "type": "library", + "time": "2015-03-05T01:12:12+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.13.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 348286 + }, + "1.13.1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.13.1", + "version_normalized": "1.13.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c31a2c4e8db5da8b46c74cf275d7f109c0f249ac", + "reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac", + "shasum": "" + }, + "type": "library", + "time": "2015-03-09T09:58:04+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.13.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 354135 + }, + "1.14.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.14.0", + "version_normalized": "1.14.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "b287fbbe1ca27847064beff2bad7fb6920bf08cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b287fbbe1ca27847064beff2bad7fb6920bf08cc", + "reference": "b287fbbe1ca27847064beff2bad7fb6920bf08cc", + "shasum": "" + }, + "type": "library", + "time": "2015-06-19T13:29:54+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.14.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.8", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 438539 + }, + "1.15.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.15.0", + "version_normalized": "1.15.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "dc5150cc608f2334c72c3b6a553ec9668a4156b0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/dc5150cc608f2334c72c3b6a553ec9668a4156b0", + "reference": "dc5150cc608f2334c72c3b6a553ec9668a4156b0", + "shasum": "" + }, + "type": "library", + "time": "2015-07-12T13:54:09+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.15.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.8", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 459596 + }, + "1.16.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.16.0", + "version_normalized": "1.16.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "c0c0b4bee3aabce7182876b0d912ef2595563db7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c0c0b4bee3aabce7182876b0d912ef2595563db7", + "reference": "c0c0b4bee3aabce7182876b0d912ef2595563db7", + "shasum": "" + }, + "type": "library", + "time": "2015-08-09T17:44:44+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.16.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.8", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 486369 + }, + "1.17.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.17.0", + "version_normalized": "1.17.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "877ae631713cc961952df713ae785735b90df682" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/877ae631713cc961952df713ae785735b90df682", + "reference": "877ae631713cc961952df713ae785735b90df682", + "shasum": "" + }, + "type": "library", + "time": "2015-08-30T11:40:25+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.16.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.11", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 506342 + }, + "1.17.1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.17.1", + "version_normalized": "1.17.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "0524c87587ab85bc4c2d6f5b41253ccb930a5422" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/0524c87587ab85bc4c2d6f5b41253ccb930a5422", + "reference": "0524c87587ab85bc4c2d6f5b41253ccb930a5422", + "shasum": "" + }, + "type": "library", + "time": "2015-08-31T09:17:37+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.16.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.11", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 507060 + }, + "1.17.2": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.17.2", + "version_normalized": "1.17.2.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bee7f0dc9c3e0b69a6039697533dca1e845c8c24", + "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24", + "shasum": "" + }, + "type": "library", + "time": "2015-10-14T12:51:02+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.16.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 550950 + }, + "1.18.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.18.0", + "version_normalized": "1.18.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "e19b764b5c855580e8ffa7e615f72c10fd2f99cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/e19b764b5c855580e8ffa7e615f72c10fd2f99cc", + "reference": "e19b764b5c855580e8ffa7e615f72c10fd2f99cc", + "shasum": "" + }, + "type": "library", + "time": "2016-03-01T18:00:40+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 719359 + }, + "1.18.1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.18.1", + "version_normalized": "1.18.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "a5f2734e8c16f3aa21b3da09715d10e15b4d2d45" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/a5f2734e8c16f3aa21b3da09715d10e15b4d2d45", + "reference": "a5f2734e8c16f3aa21b3da09715d10e15b4d2d45", + "shasum": "" + }, + "type": "library", + "time": "2016-03-13T16:08:35+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "videlalvaro/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 735276 + }, + "1.18.2": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.18.2", + "version_normalized": "1.18.2.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "064b38c16790249488e7a8b987acf1c9d7383c09" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/064b38c16790249488e7a8b987acf1c9d7383c09", + "reference": "064b38c16790249488e7a8b987acf1c9d7383c09", + "shasum": "" + }, + "type": "library", + "time": "2016-04-02T13:12:58+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 761695 + }, + "1.19.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.19.0", + "version_normalized": "1.19.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "5f56ed5212dc509c8dc8caeba2715732abb32dbf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5f56ed5212dc509c8dc8caeba2715732abb32dbf", + "reference": "5f56ed5212dc509c8dc8caeba2715732abb32dbf", + "shasum": "" + }, + "type": "library", + "time": "2016-04-12T18:29:35+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "raven/raven": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 775623 + }, + "1.2.0": { + "name": "monolog/monolog", + "description": "Logging for PHP 5.3", + "keywords": [ + "log", + "logging" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.2.0", + "version_normalized": "1.2.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "7940ae31ce4687d875d2bb5aa277bb3802203fe1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/7940ae31ce4687d875d2bb5aa277bb3802203fe1", + "reference": "7940ae31ce4687d875d2bb5aa277bb3802203fe1", + "shasum": "" + }, + "type": "library", + "time": "2012-08-18T17:27:13+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 17167 + }, + "1.2.1": { + "name": "monolog/monolog", + "description": "Logging for PHP 5.3", + "keywords": [ + "log", + "logging" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.2.1", + "version_normalized": "1.2.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "d16496318c3e08e3bccfc3866e104e49cf25488a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d16496318c3e08e3bccfc3866e104e49cf25488a", + "reference": "d16496318c3e08e3bccfc3866e104e49cf25488a", + "shasum": "" + }, + "type": "library", + "time": "2012-08-29T11:53:20+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 17888 + }, + "1.20.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.20.0", + "version_normalized": "1.20.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "55841909e2bcde01b5318c35f2b74f8ecc86e037" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/55841909e2bcde01b5318c35f2b74f8ecc86e037", + "reference": "55841909e2bcde01b5318c35f2b74f8ecc86e037", + "shasum": "" + }, + "type": "library", + "time": "2016-07-02T14:02:10+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "sentry/sentry": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 886205 + }, + "1.21.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.21.0", + "version_normalized": "1.21.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "f42fbdfd53e306bda545845e4dbfd3e72edb4952" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f42fbdfd53e306bda545845e4dbfd3e72edb4952", + "reference": "f42fbdfd53e306bda545845e4dbfd3e72edb4952", + "shasum": "" + }, + "type": "library", + "time": "2016-07-29T03:23:52+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "sentry/sentry": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 928751 + }, + "1.22.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.22.0", + "version_normalized": "1.22.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "bad29cb8d18ab0315e6c477751418a82c850d558" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bad29cb8d18ab0315e6c477751418a82c850d558", + "reference": "bad29cb8d18ab0315e6c477751418a82c850d558", + "shasum": "" + }, + "type": "library", + "time": "2016-11-26T00:15:39+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "sentry/sentry": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 1099516 + }, + "1.22.1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.22.1", + "version_normalized": "1.22.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0", + "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0", + "shasum": "" + }, + "type": "library", + "time": "2017-03-13T07:08:03+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "sentry/sentry": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "~5.3", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 1278871 + }, + "1.23.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.23.0", + "version_normalized": "1.23.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "shasum": "" + }, + "type": "library", + "time": "2017-06-19T01:22:40+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "sentry/sentry": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 1451918 + }, + "1.24.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.24.0", + "version_normalized": "1.24.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266", + "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266", + "shasum": "" + }, + "type": "library", + "time": "2018-11-05T09:00:11+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "sentry/sentry": "^0.13", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 2559895 + }, + "1.3.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.3.0", + "version_normalized": "1.3.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "25a97abf904120a386c546be11c3b58f1f9e6f37" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/25a97abf904120a386c546be11c3b58f1f9e6f37", + "reference": "25a97abf904120a386c546be11c3b58f1f9e6f37", + "shasum": "" + }, + "type": "library", + "time": "2013-01-07T20:26:46+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*", + "raven/raven": "0.3.*", + "doctrine/couchdb": "dev-master" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 31072 + }, + "1.3.1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.3.1", + "version_normalized": "1.3.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "47eb599b4aad36b66e818ed72ebf939e2fb311be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/47eb599b4aad36b66e818ed72ebf939e2fb311be", + "reference": "47eb599b4aad36b66e818ed72ebf939e2fb311be", + "shasum": "" + }, + "type": "library", + "time": "2013-01-11T10:23:20+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*", + "raven/raven": "0.3.*", + "doctrine/couchdb": "dev-master" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 31615 + }, + "1.4.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.4.0", + "version_normalized": "1.4.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "32fe28af60b4da9a5b0cef024138afacc0c01eeb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/32fe28af60b4da9a5b0cef024138afacc0c01eeb", + "reference": "32fe28af60b4da9a5b0cef024138afacc0c01eeb", + "shasum": "" + }, + "type": "library", + "time": "2013-02-13T18:06:51+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*", + "raven/raven": "0.3.*", + "doctrine/couchdb": "dev-master" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 37441 + }, + "1.4.1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.4.1", + "version_normalized": "1.4.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "3295de82be06b3bbcd336983ddf8c50724430180" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/3295de82be06b3bbcd336983ddf8c50724430180", + "reference": "3295de82be06b3bbcd336983ddf8c50724430180", + "shasum": "" + }, + "type": "library", + "time": "2013-04-01T10:04:58+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*", + "raven/raven": "0.3.*", + "doctrine/couchdb": "dev-master" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 46264 + }, + "1.5.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.5.0", + "version_normalized": "1.5.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "583618d5cd2115a52101694aca87afb182b3e567" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/583618d5cd2115a52101694aca87afb182b3e567", + "reference": "583618d5cd2115a52101694aca87afb182b3e567", + "shasum": "" + }, + "type": "library", + "time": "2013-04-23T10:09:48+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*", + "raven/raven": "0.3.*", + "doctrine/couchdb": "dev-master" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 50373 + }, + "1.6.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.6.0", + "version_normalized": "1.6.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "f72392d0e6eb855118f5a84e89ac2d257c704abd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f72392d0e6eb855118f5a84e89ac2d257c704abd", + "reference": "f72392d0e6eb855118f5a84e89ac2d257c704abd", + "shasum": "" + }, + "type": "library", + "time": "2013-07-28T22:38:30+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.6.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "mlehner/gelf-php": "1.0.*", + "raven/raven": "0.5.*", + "doctrine/couchdb": "dev-master" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server" + }, + "uid": 72464 + }, + "1.7.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.7.0", + "version_normalized": "1.7.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "6225b22de9dcf36546be3a0b2fa8e3d986153f57" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/6225b22de9dcf36546be3a0b2fa8e3d986153f57", + "reference": "6225b22de9dcf36546be3a0b2fa8e3d986153f57", + "shasum": "" + }, + "type": "library", + "time": "2013-11-14T19:48:31+00:00", + "autoload": { + "psr-0": { + "Monolog": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.7.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~3.7.0", + "mlehner/gelf-php": "1.0.*", + "raven/raven": "0.5.*", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "dev-master", + "aws/aws-sdk-php": "~2.4.8" + }, + "suggest": { + "mlehner/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB" + }, + "uid": 101157 + }, + "1.8.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.8.0", + "version_normalized": "1.8.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "392ef35fd470638e08d0160d6b1cbab63cb23174" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/392ef35fd470638e08d0160d6b1cbab63cb23174", + "reference": "392ef35fd470638e08d0160d6b1cbab63cb23174", + "shasum": "" + }, + "type": "library", + "time": "2014-03-23T19:50:26+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.8.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~3.7.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "uid": 148914 + }, + "1.9.0": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.9.0", + "version_normalized": "1.9.0.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "1afc39690e7414412face1f8cbf67b73db34485c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1afc39690e7414412face1f8cbf67b73db34485c", + "reference": "1afc39690e7414412face1f8cbf67b73db34485c", + "shasum": "" + }, + "type": "library", + "time": "2014-04-20T16:41:26+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.9.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~3.7.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "uid": 161381 + }, + "1.9.1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.9.1", + "version_normalized": "1.9.1.0", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be", + "role": "Developer" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "65026b610f8c19e61d7242f600530677b0466aac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/65026b610f8c19e61d7242f600530677b0466aac", + "reference": "65026b610f8c19e61d7242f600530677b0466aac", + "shasum": "" + }, + "type": "library", + "time": "2014-04-24T13:29:03+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.9.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~3.7.0", + "graylog2/gelf-php": "~1.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "~2.4, >2.4.8" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar" + }, + "uid": 163177 + }, + "1.x-dev": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "1.x-dev", + "version_normalized": "1.9999999.9999999.9999999-dev", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "4d5b7e6ba1127789c7ff59d6f762298eaa29787f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4d5b7e6ba1127789c7ff59d6f762298eaa29787f", + "reference": "4d5b7e6ba1127789c7ff59d6f762298eaa29787f", + "shasum": "" + }, + "type": "library", + "time": "2018-12-26T14:24:03+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "graylog2/gelf-php": "~1.0", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit-mock-objects": "2.3.0", + "jakub-onderka/php-parallel-lint": "0.9", + "php-amqplib/php-amqplib": "~2.4", + "sentry/sentry": "^0.13", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "swiftmailer/swiftmailer": "^5.3|^6.0" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "sentry/sentry": "Allow sending log messages to a Sentry server" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 627655 + }, + "2.0.0-beta1": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "2.0.0-beta1", + "version_normalized": "2.0.0.0-beta1", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "0ad73a526f4b5e67312e94fb7f60c1bdefc284b9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/0ad73a526f4b5e67312e94fb7f60c1bdefc284b9", + "reference": "0ad73a526f4b5e67312e94fb7f60c1bdefc284b9", + "shasum": "" + }, + "type": "library", + "time": "2018-12-08T17:16:32+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "require": { + "php": "^7.1", + "psr/log": "^1.0.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.3", + "graylog2/gelf-php": "^1.4.2", + "sentry/sentry": "^1.9", + "ruflin/elastica": ">=0.90 <3.0", + "doctrine/couchdb": "~1.0@dev", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "php-amqplib/php-amqplib": "~2.4", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "php-console/php-console": "^3.1.3", + "jakub-onderka/php-parallel-lint": "^0.9", + "predis/predis": "^1.1", + "phpspec/prophecy": "^1.6.1", + "elasticsearch/elasticsearch": "^6.0", + "rollbar/rollbar": "^1.3" + }, + "suggest": { + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 2625958 + }, + "dev-master": { + "name": "monolog/monolog", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "homepage": "http://github.com/Seldaek/monolog", + "version": "dev-master", + "version_normalized": "9999999-dev", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "ebb804e432e8fe0fe96828f30d89c45581d36d07" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ebb804e432e8fe0fe96828f30d89c45581d36d07", + "reference": "ebb804e432e8fe0fe96828f30d89c45581d36d07", + "shasum": "" + }, + "type": "library", + "time": "2018-12-26T14:39:50+00:00", + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "require": { + "psr/log": "^1.0.1", + "php": "^7.1" + }, + "require-dev": { + "doctrine/couchdb": "~1.0@dev", + "ruflin/elastica": ">=0.90 <3.0", + "php-console/php-console": "^3.1.3", + "php-amqplib/php-amqplib": "~2.4", + "graylog2/gelf-php": "^1.4.2", + "jakub-onderka/php-parallel-lint": "^0.9", + "predis/predis": "^1.1", + "phpspec/prophecy": "^1.6.1", + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "rollbar/rollbar": "^1.3", + "sentry/sentry": "^1.9", + "elasticsearch/elasticsearch": "^6.0", + "phpunit/phpunit": "^7.5" + }, + "suggest": { + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "sentry/sentry": "Allow sending log messages to a Sentry server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "uid": 5154 + } + } \ No newline at end of file diff --git a/swh/lister/packagist/tests/source_and_release.json b/swh/lister/packagist/tests/source_and_release.json new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/tests/source_and_release.json @@ -0,0 +1,221 @@ +{ + "release": [ + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/433b98d4218c181bae01865901aac045585e8a1a", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5e651a82b4b03d267da6084720ada0cd398c8d16", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/303b8a83c87d5c6d749926cf02620465a5dcd0f2", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b704c49a3051536f67f2d39f13568f74615b9922", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/abc80e0db8ad31c03b373977fc997e980800f9c2", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/25b16e801979098cb2f120e697bfce454b18bf23", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ec3961874c43840e96da3a8a1ed20d8c73d7e5aa", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1fbe8c2641f2b163addf49cc5e18f144bec6b19f", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c41c218e239b50446fd883acb1ecfd4b770caeae", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c31a2c4e8db5da8b46c74cf275d7f109c0f249ac", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b287fbbe1ca27847064beff2bad7fb6920bf08cc", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/dc5150cc608f2334c72c3b6a553ec9668a4156b0", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c0c0b4bee3aabce7182876b0d912ef2595563db7", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/877ae631713cc961952df713ae785735b90df682", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/0524c87587ab85bc4c2d6f5b41253ccb930a5422", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bee7f0dc9c3e0b69a6039697533dca1e845c8c24", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/e19b764b5c855580e8ffa7e615f72c10fd2f99cc", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/a5f2734e8c16f3aa21b3da09715d10e15b4d2d45", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/064b38c16790249488e7a8b987acf1c9d7383c09", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5f56ed5212dc509c8dc8caeba2715732abb32dbf", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/7940ae31ce4687d875d2bb5aa277bb3802203fe1", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d16496318c3e08e3bccfc3866e104e49cf25488a", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/55841909e2bcde01b5318c35f2b74f8ecc86e037", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f42fbdfd53e306bda545845e4dbfd3e72edb4952", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bad29cb8d18ab0315e6c477751418a82c850d558", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/25a97abf904120a386c546be11c3b58f1f9e6f37", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/47eb599b4aad36b66e818ed72ebf939e2fb311be", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/32fe28af60b4da9a5b0cef024138afacc0c01eeb", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/3295de82be06b3bbcd336983ddf8c50724430180", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/583618d5cd2115a52101694aca87afb182b3e567", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f72392d0e6eb855118f5a84e89ac2d257c704abd", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/6225b22de9dcf36546be3a0b2fa8e3d986153f57", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/392ef35fd470638e08d0160d6b1cbab63cb23174", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1afc39690e7414412face1f8cbf67b73db34485c", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/65026b610f8c19e61d7242f600530677b0466aac", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4d5b7e6ba1127789c7ff59d6f762298eaa29787f", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/0ad73a526f4b5e67312e94fb7f60c1bdefc284b9", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + }, + { + "vcs": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/ebb804e432e8fe0fe96828f30d89c45581d36d07", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + } + ], + "source": [ + { + "vcs": "git", + "url": "https://github.com/Seldaek/monolog.git", + "description": "Logging for PHP 5.3" + }, + { + "vcs": "git", + "url": "https://github.com/Seldaek/monolog.git", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services" + } + ] +} diff --git a/swh/lister/packagist/tests/test_lister.py b/swh/lister/packagist/tests/test_lister.py new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/tests/test_lister.py @@ -0,0 +1,22 @@ +# Copyright (C) 2019 the Software Heritage developers +# License: GNU General Public License version 3, or any later version +# See top-level LICENSE file for more information + +import json + +from swh.lister.packagist.lister import find_source_and_release + + +def test_find_source_and_release(): + f = open('swh/lister/packagist/tests/package.json') + package = json.load(f) + source_and_release = find_source_and_release(package) + f = open('swh/lister/packagist/tests/source_and_release.json') + correct_source_and_release = json.load(f) + assert (len(correct_source_and_release['release']) == + len(source_and_release['release'])) + assert (len(correct_source_and_release['source']) == + len(source_and_release['source'])) + for i in ('release', 'source'): + for j in source_and_release[i]: + assert j in correct_source_and_release[i] diff --git a/swh/lister/packagist/tests/test_tasks.py b/swh/lister/packagist/tests/test_tasks.py new file mode 100644 --- /dev/null +++ b/swh/lister/packagist/tests/test_tasks.py @@ -0,0 +1,27 @@ +from unittest.mock import patch + + +def test_ping(swh_app, celery_session_worker): + res = swh_app.send_task( + 'swh.lister.packagist.tasks.ping') + assert res + res.wait() + assert res.successful() + assert res.result == 'OK' + + +@patch('swh.lister.packagist.tasks.PackagistLister') +def test_lister(lister, swh_app, celery_session_worker): + # setup the mocked PackagistLister + lister.return_value = lister + lister.run.return_value = None + + res = swh_app.send_task( + 'swh.lister.packagist.tasks.PackagistListerTask') + assert res + res.wait() + assert res.successful() + + lister.assert_called_once_with() + lister.db_last_index.assert_not_called() + lister.run.assert_called_once_with()