2017 © Pedro Peláez
 

library codeinformations

simple api for take package's informations

image

yo69008/codeinformations

simple api for take package's informations

  • Friday, May 19, 2017
  • by Yo69008
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CodeInformations

Codacy Badge Build Status, (*1)

This API gives informations on a package. It makes it possible to obtain, if the information is indicated: - the name of the package - its version - the language used - dependencies required - if the package is testable - if it is distributable - the license of the project - a short description of the action of the API, (*2)

for use

basic usage for this component, (*3)

Write the vendor's name and the package's name at the end of the URL : www. site .com/ The vendor's name/The package's name, (*4)

If the package and the vendor exist, the API search informations in the differents files and It displays what it found., (*5)

Demo

Here is an example with a sebastien bergmann's package :, (*6)

http://ydefarge.alwaysdata.net/sebastianbergmann/phpunit, (*7)

{
    "testable": true,
    "distribuable": false,
    "package": "sebastianbergmann\/phpunit",
    "keywords": [
        "phpunit",
        "xunit",
        "testing"
    ],
    "name": "phpunit\/phpunit",
    "homepage": "https:\/\/phpunit.de\/",
    "license": "BSD-3-Clause",
    "author": [
        {
            "name": "Sebastian Bergmann",
            "email": "sebastian@phpunit.de",
            "role": "lead"
        }
    ],
    "description": "The PHP Unit Testing framework.",
    "dependencies": {
        "php": "^7.0",
        "ext-dom": "*",
        "ext-json": "*",
        "ext-libxml": "*",
        "ext-mbstring": "*",
        "ext-xml": "*",
        "myclabs\/deep-copy": "^1.3",
        "phar-io\/manifest": "^1.0.1",
        "phar-io\/version": "^1.0",
        "phpspec\/prophecy": "^1.7",
        "phpunit\/php-code-coverage": "^5.2",
        "phpunit\/php-file-iterator": "^1.4",
        "phpunit\/php-text-template": "^1.2",
        "phpunit\/php-timer": "^1.0.6",
        "phpunit\/phpunit-mock-objects": "^4.0",
        "sebastian\/comparator": "^2.0",
        "sebastian\/diff": "^1.2",
        "sebastian\/environment": "^3.0.1",
        "sebastian\/exporter": "^3.1",
        "sebastian\/global-state": "^1.1 || ^2.0",
        "sebastian\/object-enumerator": "^3.0.2",
        "sebastian\/resource-operations": "^1.0",
        "sebastian\/version": "^2.0"
    },
    "devDependencies": [],
    "version": [],
    "language": "php",
    "type": "library",
    "page": ""
}

The informations have been recuperated which the read of the files package.json or composer.json check, if the code is available on npm or packagist, and travis., (*8)

Authors

Yo69008, (*9)

The Versions

19/05 2017

dev-master

9999999-dev

simple api for take package's informations

  Sources   Download

The Requires

 

api package-description