From 8aed2129afca6c06ddc38dec34014137cdee5c06 Mon Sep 17 00:00:00 2001 From: Dennis Smink Date: Mon, 13 Aug 2018 17:30:24 +0200 Subject: [PATCH] First initial code added --- .gitignore | 1 + LICENSE | 9 +++++++++ README.md | 19 +++++++++++++++++-- composer.json | 21 +++++++++++++++++++++ src/Ploi.php | 8 ++++++++ 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 composer.json create mode 100644 src/Ploi.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1b33ebe --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +The MIT License (MIT) + +Copyright (c) 2018 Ploi + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 8ae51a5..397d41b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ -# ploi-php-sdk -Ploi's PHP SDK API wrapper +## NOT READY FOR PRODUCTION YET + +# Ploi PHP SDK 🚀 + +The future is now - so stop the hassle, you’re running behind. Quick and easy site deployment with Ploi. Awesome features for awesome developers. Check it out at www.ploi.io + +This SDK is ment for PHP applications to be able to communicate with our API. +You can find our documentation at https://ploi.io/docs/api/index.html + +## Installation + +``` +composer require ploi/ploi-php-sdk +``` + +## Usage + diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..ef7ce74 --- /dev/null +++ b/composer.json @@ -0,0 +1,21 @@ +{ + "name": "ploi/ploi-php-sdk", + "description": "Ploi.io for easy site deployments", + "authors": [ + { + "name": "Dennis Smink", + "email": "info@ploi.io" + } + ], + "require": { + "php": ">=5.6", + "guzzlehttp/guzzle": "~6.0" + }, + "license": "MIT", + "minimum-stability": "stable", + "autoload": { + "psr-0": { + "Ploi": "src/" + } + } +} diff --git a/src/Ploi.php b/src/Ploi.php new file mode 100644 index 0000000..996c8cf --- /dev/null +++ b/src/Ploi.php @@ -0,0 +1,8 @@ +