[Composer] Add dependencies

- Add pear/Net_Ping
- Add asika/simple-console
- Fix composer.json formatting
This commit is contained in:
Hypolite Petovan 2018-05-04 08:15:21 -04:00
parent 5039d4202b
commit 741e72ecc7
2 changed files with 191 additions and 10 deletions

View File

@ -1,11 +1,21 @@
{
"name": "friendica/dir",
"description": "The internet is our social network",
"license": "AGPL3",
"autoload": {
"psr-4": {"Friendica\\Directory\\": "src"}
},
"require": {
"php": ">=5.3"
}
}
"name": "friendica/dir",
"description": "The internet is our social network",
"license": "AGPL3",
"autoload": {
"psr-4": {
"Friendica\\Directory\\": "src"
}
},
"require": {
"php": ">=5.3",
"pear/Net_Ping": "dev-master",
"asika/simple-console": "^1.0"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/pear/Net_Ping"
}
]
}

171
composer.lock generated Normal file
View File

@ -0,0 +1,171 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "f330bced2cb3855635512ca74f0fa779",
"packages": [
{
"name": "asika/simple-console",
"version": "1.0.3",
"source": {
"type": "git",
"url": "https://github.com/asika32764/php-simple-console.git",
"reference": "0b624c1a999849dc6481a47182e58d593bf65068"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/asika32764/php-simple-console/zipball/0b624c1a999849dc6481a47182e58d593bf65068",
"reference": "0b624c1a999849dc6481a47182e58d593bf65068",
"shasum": ""
},
"type": "library",
"autoload": {
"psr-4": {
"Asika\\SimpleConsole\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Simon Asika",
"email": "asika32764@gmail.com"
}
],
"description": "One file console framework to help you write build scripts.",
"time": "2018-03-08T12:05:40+00:00"
},
{
"name": "pear/net_ping",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/pear/Net_Ping.git",
"reference": "d1f370b3a6072e5a493ed855804d98aadf818fa7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pear/Net_Ping/zipball/d1f370b3a6072e5a493ed855804d98aadf818fa7",
"reference": "d1f370b3a6072e5a493ed855804d98aadf818fa7",
"shasum": ""
},
"require": {
"pear/pear_exception": "*"
},
"require-dev": {
"phpunit/phpunit": "*"
},
"type": "library",
"autoload": {
"psr-0": {
"Net": "./"
}
},
"include-path": [
"./"
],
"license": [
"PHP License"
],
"authors": [
{
"email": "cconstantine@php.net",
"name": "Craig Constantine",
"role": "Lead"
},
{
"email": "mj@php.net",
"name": "Martin Jansen",
"role": "Developer"
},
{
"email": "jan@php.net",
"name": "Jan Lehnardt",
"role": "Developer"
},
{
"email": "cox@php.net",
"name": "Thomas V.V.Cox",
"role": "Developer"
}
],
"description": "More info available on: http://pear.php.net/package/Net_Ping",
"support": {
"issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Net_Ping",
"source": "https://github.com/pear/Net_Ping"
},
"time": "2014-02-20T19:24:17+00:00"
},
{
"name": "pear/pear_exception",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/pear/PEAR_Exception.git",
"reference": "8c18719fdae000b690e3912be401c76e406dd13b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pear/PEAR_Exception/zipball/8c18719fdae000b690e3912be401c76e406dd13b",
"reference": "8c18719fdae000b690e3912be401c76e406dd13b",
"shasum": ""
},
"require": {
"php": ">=4.4.0"
},
"require-dev": {
"phpunit/phpunit": "*"
},
"type": "class",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-0": {
"PEAR": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"include-path": [
"."
],
"license": [
"BSD-2-Clause"
],
"authors": [
{
"name": "Helgi Thormar",
"email": "dufuz@php.net"
},
{
"name": "Greg Beaver",
"email": "cellog@php.net"
}
],
"description": "The PEAR Exception base class.",
"homepage": "https://github.com/pear/PEAR_Exception",
"keywords": [
"exception"
],
"time": "2015-02-10T20:07:52+00:00"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"pear/net_ping": 20
},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=5.3"
},
"platform-dev": []
}