Download the PHP package uaktags/ngcsv1 without Composer
On this page you can find all versions of the php package uaktags/ngcsv1. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download uaktags/ngcsv1
More information about uaktags/ngcsv1
Files in uaktags/ngcsv1
Package ngcsv1
Short Description 1and1 NGCS API v1 PHP 5.4+ library
License MIT
Homepage https://github.com/uaktags/NGCSv1
Informations about the package ngcsv1
NGCS v1 API
A PHP5.4 wrapper for 1&1's New CloudServer API. Based off of DigitalOceanV2 by toin0u.
Status
Installation
The recommended way to install this is through composer.
Run these commands to install composer, the library and its dependencies:
You then need to install one of the following:
Or edit composer.json
and add:
And then add the following:
Adapter
I have added a simple HTTPFul adapter, but if you'd like to port Buzz or Guzzle as it was found in the original Digitalocean wrapper, be mindful of the API changes.
You can also build your own adapter by extending AbstractAdapter
and implementing AdapterInterface
.
Example
Entities
Every entity has the getUnknownProperties
method which will return an array
of properties set with unknown
properties by the entity. This is here only as a fail-safe until the API is fully ported.
Server
`
[TO BE CONTINUED]
Contributing
I welcome any contributions to make this Library fully functional for all. Please keep the TODO in mind as well.
Credits
[NGCSv1]
[Original DigitalOcean PHP Library, used as base]
Contributor Code of Conduct
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
This Code of Conduct is adapted from the Contributor Covenant, version 1.0.0, available at http://contributor-covenant.org/version/1/0/0/
License
NGCSv1 uses the same MIT License as the original project DigitalOceanV2.
DigitalOceanV2 is released under the MIT License. See the bundled LICENSE file for details.