From df106c534e2c2eecbf5996631e76efff88d0aeb5 Mon Sep 17 00:00:00 2001 From: strarsis Date: Sun, 11 Jun 2017 20:33:21 +0200 Subject: [PATCH 1/2] Add composer support + gitignore. --- .gitignore | 1 + composer.json | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .gitignore create mode 100644 composer.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57872d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/vendor/ diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..0d1a630 --- /dev/null +++ b/composer.json @@ -0,0 +1,13 @@ +{ + "name": "cyberwani/acf-image-select", + "description": "Image Select addon for Advanced Custom Fields.", + "type": "wordpress-plugin", + "license": "GPL-2.0", + "authors": [ + { + "name": "cyberwani", + "email": "" + } + ], + "require": {} +} From d855dd72e58aa337145580361b4932aa4bcbed55 Mon Sep 17 00:00:00 2001 From: strarsis Date: Sun, 11 Jun 2017 22:14:31 +0200 Subject: [PATCH 2/2] Adjustments for composer. --- composer.json | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 0d1a630..8708d6d 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,27 @@ { "name": "cyberwani/acf-image-select", "description": "Image Select addon for Advanced Custom Fields.", - "type": "wordpress-plugin", "license": "GPL-2.0", + "homepage": "https://github.com/cyberwani/acf-image-select", "authors": [ { - "name": "cyberwani", - "email": "" + "name": "cyberwani" } ], - "require": {} + "keywords": [ + "acf", + "advanced custom fields", + "addon", + "select", + "image" + ], + "support": { + "issues": "https://github.com/cyberwani/acf-image-select/issues", + "source": "https://github.com/cyberwani/acf-image-select" + }, + "type": "wordpress-plugin", + "require": { + "php": ">=5.3.0", + "composer/installers": "~1.0" + } }