Download the PHP package kanekescom/laravel-siasn-api without Composer
On this page you can find all versions of the php package kanekescom/laravel-siasn-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kanekescom/laravel-siasn-api
More information about kanekescom/laravel-siasn-api
Files in kanekescom/laravel-siasn-api
Package laravel-siasn-api
Short Description SIASN REST API Client for Laravel
License MIT
Homepage https://github.com/kanekescom/laravel-siasn-api
Informations about the package laravel-siasn-api
Laravel SIASN API
SIASN REST API Client for Laravel. This library is the abstraction of SIASN API for access from applications written with Laravel PHP Framework.
Support us
Want to provide tangible support? Use the following platform to contribute to open-source software developers. Every contribution you make is a significant boost to continue building and enhancing technology that benefits everyone.
- Buy Me a Coffee https://s.id/hadibmac
- Patreon https://s.id/hadipatreon
- Saweria https://s.id/hadisaweria
We highly appreciate you sending us a few cups of coffee to accompany us while writing code. Super, thanks.
Use pro version
We also offer a professional version. We're excited for you to try it out, as it allows us to consistently deliver high-quality software. Feel free to contact us at [email protected] or @achmadhadikurnia (maintainer) for further information.
- Laravel SIASN Referensi Panel
- Laravel SIASN SIMPEG Panel
- SIMPEGDA App
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Or, all installations can be completed with the installation command:
Usage
Token Generator
Generate an APIM Token
Generate an SSO Token
Generate an APIM and SSO Tokens
You can add the --fresh
option to always request a new token
Remove Tokens
Remove an APIM and SSO Tokens
Available Token Methods
Generate an APIM Token
Send a Request
Using Command
Send a GET request to endpoint of SIASN API
An example to get the referensi unor
Send a POST request to endpoint of SIASN API
Send a Request Using Class
The Siasn class uses the Http
class (Illuminate\Support\Facades\Http
) from Laravel. So you can use it just like you would use that class.
We added the withSso()
method for dual authentication purposes required by BKN. So you just need to add this method if needed, making it like the following.
Testing
Our other cool packages
Need a package for other BKN's Web Service APIs? Consider installing our packages for seamless integration.
Referensi APIs
-
https://github.com/kanekescom/laravel-siasn-referensi-api as API client
- https://github.com/kanekescom/laravel-siasn-referensi as backend
SIASNAPI-SIMPEG APIs
-
https://github.com/kanekescom/laravel-siasn-simpeg-api as API client
- https://github.com/kanekescom/laravel-siasn-simpeg as backend
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Achmad Hadi Kurnia
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-siasn-api with dependencies
spatie/laravel-package-tools Version ^1.16
guzzlehttp/guzzle Version ^7.2
illuminate/contracts Version ^10.0||^11.0
kanekescom/laravel-helperia Version ^2.0