File: composer.json

Recommend this page to a friend!
  Classes of Marco Cesarato  >  PHP API Database  >  composer.json  >  Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP API Database
Provide access to database records via REST API
Author: By
Last change: Reformatted code (php-cs-fixer)

Added code standard,
Added hooks git for code standard,
Fixed parse where on null elements
Update composer.json
Date: 9 months ago
Size: 1,378 bytes
 

Contents

Class file image Download
{
  "name": "marcocesarato/database-api",
  "description": "Dynamically generate RESTful APIs from the contents of a database table. Provides JSON, XML, and HTML. Supports most popular databases",
  "license": "GPL-3.0-or-later",
  "type": "project",
  "minimum-stability": "stable",
  "authors": [
    {
      "name": "Marco Cesarato",
      "email": "cesarato.developer@gmail.com"
    }
  ],
  "scripts": {
    "post-install-cmd": "vendor/bin/cghooks add --ignore-lock",
    "post-update-cmd": "vendor/bin/cghooks update",
    "fix-cs": "vendor/bin/php-cs-fixer fix --config=.cs.php",
    "check-cs": "vendor/bin/php-cs-fixer fix --dry-run --format=txt --verbose --diff --diff-format=udiff --config=.cs.php"
  },
  "require": {
    "php": ">=5.3.0",
    "ext-simplexml": "*",
    "ext-dom": "*",
    "ext-json": "*",
    "ext-pdo": "*",
    "ext-iconv": "*",
    "ext-curl": "*"
  },
  "require-dev": {
    "brainmaestro/composer-git-hooks": "^2.8",
    "friendsofphp/php-cs-fixer": "^2.15"
  },
  "config": {
    "process-timeout": 0,
    "sort-packages": true
  },
  "extra": {
    "hooks": {
      "pre-commit": [
        "vendor/bin/php-cs-fixer fix --config=.cs.php"
      ],
      "pre-push": [
        "vendor/bin/php-cs-fixer fix --dry-run --format=txt --verbose --diff --diff-format=udiff --config=.cs.php"
      ],
      "post-merge": "composer install"
    }
  }
}

For more information send a message to info at phpclasses dot org.