Download the PHP package muffin/webservice without Composer
On this page you can find all versions of the php package muffin/webservice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download muffin/webservice
More information about muffin/webservice
Files in muffin/webservice
Package webservice
Short Description Simplistic webservices for CakePHP
License MIT
Homepage https://github.com/usemuffin/webservice
Informations about the package webservice
Webservice
Bringing the power of the CakePHP ORM to your favourite webservices.
Install
Using Composer:
You then need to load the plugin. You can use the shell command:
Usage
Datasource Configuration
In your app.php
, add a new webservice
config under Datasources
:
If you are making a plugin then conventionally the datasource config key name should be underscored version of plugin name.
As an ORM
Create driver
Create a webservice
Create an endpoint (optional)
Create a resource (optional)
Use it
As base for a driver
You can also use this plugin as a base to a separate plugin or to manage custom webservice drivers connections.
Until official documentation is written, David Yell wrote a good post to get you started.
Implementations of webservices
As an ORM
The following plugins use the Webservice ORM to give you easy access to all kinds of webservices:
- GitHub plugin - Provides access to the GitHub REST APIs.
- NS plugin - Provides access to the NS (Nederlandse Spoorwegen) APIs.
- Stagemarkt plugin - Provides access to the SBB Stagemarkt REST APIs.
- Twitter plugin - Provides access to the Twitter REST and streaming APIs.
As a driver
The following plugins implement a Webservice driver with their own methods:
- GitHub plugin - Provides access to the GitHub REST APIs.
- Pusher plugin - Provides access to the Pusher APIs.
- TMDB plugin - Provides access to the TMDB APIs.
Patches & Features
- Fork
- Mod, fix
- Test - this is important, so it's not unintentionally broken
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
- Pull request - bonus point for topic branches
To ensure your PRs are considered for upstream, you MUST follow the CakePHP coding standards.
Bugs & Feedback
http://github.com/usemuffin/webservice/issues
License
Copyright (c) 2015-Present, [Use Muffin] and licensed under The MIT License.