Download the PHP package sukorenomw/rclient without Composer
On this page you can find all versions of the php package sukorenomw/rclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package rclient
Roketin Client Template
RClient is standard client application to Roketin API to accelerate connecting and integrating basic feature of Roketin Engine API to client's website.
API Documentation
Documentation for the Roketin API can be found on the Documentation.
Installation
Laravel 5
Next, run the Composer update command from the Terminal:
composer update
or
composer update "sukorenomw/rclient"
CONFIGURATION
-
Open config/app.php and addd this line to your Service Providers Array
-
Open config/app.php and addd this line to your Aliases
-
Publish the config using the following command:
$ php artisan vendor:publish --provider="Roketin\Providers\RoketinServiceProvider"
- Create an .env file based on .env.example file and change the value based on client credentials
HOW TO USE
- Basic Usage
- Conditions
- Sorting
- Grouping
- Pagination
- Shipping
- Sales Order
- Subscribe
- Message
- Voucher
- Users
Basic
You can call a Roketin Object by using: Roketin::model()->get()
Fethcing single object with id/slug/etc:
Conditions
Fetching object with simple where conditions:
Fetching object with simple orWhere conditions:
Advance where orWhere grouping conditions:
Sorting
Fetch a Roketin Object API by sorting on it's field:
Grouping
Fetch a Roketin Object API by grouping on it's field:
Pagination
Paginating fetch object
Shipping
Get all available countries:
Get all available provinces (currently available in Indonesia only):
Get all available city (currently available in Indonesia only):
Calculate shipping costs:
Order
Create sales order:
Note:
- For detailed attribute, see sales order API documentation HERE
Confirm payment order:
Void an Sales Order and it's invoice:
Subscribe
Submit a subscription email:
Message
Send a message to Roketin Engine Inbox:
Vouchers
Check validity of a voucher:
invalidate a voucher (use voucher):
User
Register new user:
User activation:
Resend activation code to email:
Forgot password (generate and send token to user email):
Reset password:
Login:
Current User:
Update user data:
Note:
- For detailed attribute, see sales order API documentation HERE
Get transaction history data:
Note:
- you can also use where(), orWhere(), etc query with this method
Logout:
All versions of rclient with dependencies
illuminate/http Version 5.1.* || 5.2.*
illuminate/support Version 5.1.* || 5.2.*
guzzlehttp/guzzle Version ~5.3|~6.0
intervention/image Version ^2.3