kanekescom/laravel-siasn-api
Larablocks Analysis
kanekescom/laravel-siasn-api works with Laravel 10 and 11 (latest release v2.0.21, Jul 18, 2024), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.
Laravel 8 and 9 in earlier releases.
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Supports only Laravel 10 and 11, past end of life since Mar 12, 2026
- No release in the last 12 months (last: Jul 18, 2024)
- 27 downloads a month (needs 10,000)
- 4 GitHub stars (needs 100)
State
Quiet- Last stable release: Jul 18, 2024.
- No releases in the last 12 months.
- First released: Sep 17, 2023.
- Monthly downloads: 27.
- 4 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| Install | |
|---|---|
composer require kanekescom/laravel-siasn-api |
|
| Latest Version: | v2.0.21 |
| PHP: | ^8.2 |
| Laravel: | 10 · 11 |
| Older releases: | 8 · 9 |
| License: | MIT |
| Last Updated: | Oct 7, 2026 |
| Links: | GitHub · Packagist |
Laravel SIASN API
A Laravel package for seamless integration with the SIASN REST API. 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 platforms to contribute to open-source software development:
Your support is greatly appreciated!
Installation
Install the package via Composer:
composer require kanekescom/laravel-siasn-api
Publish the config file:
php artisan vendor:publish --tag="siasn-api-config"
Or complete all installations with:
php artisan siasn-api:install
Usage
Token Generator
Generate APIM Token:
php artisan siasn:apim-token
Generate SSO Token:
php artisan siasn:sso-token
Generate both APIM and SSO Tokens:
php artisan siasn:token
Use --fresh to always request a new token.
Remove Tokens
php artisan siasn:forget-token
Available Token Methods
use Kanekes\Siasn\Api\Credentials\Token;
Token::getNewApimToken(); // Always request a new APIM token
Token::getApimToken(); // Request APIM token
Token::getNewSsoToken(); // Always request a new SSO token
Token::getSsoToken(); // Request SSO token
Token::forget(); // Remove APIM and SSO tokens
Send a Request Using Commands
GET Request:
php artisan siasn:get {endpoint}
Example:
php artisan siasn:get https://apimws.bkn.go.id:8243/apisiasn/1.0/referensi/ref-unor
POST Request:
php artisan siasn:post {endpoint}
Send a Request Using Class
The Siasn class uses Laravel's Http class (Illuminate\Support\Facades\Http):
use Kanekes\Siasn\Api\Facades\Siasn;
Siasn::get($endpoint, $params);
For dual authentication (SSO), use:
use Kanekes\Siasn\Api\Facades\Siasn;
Siasn::withSso()->get($endpoint, $params);
Testing
composer test
Our Other Cool Packages
Referensi APIs
SIASNAPI-SIMPEG APIs
Changelog
See CHANGELOG for recent updates.
Contributing
See CONTRIBUTING for contribution guidelines.
Security Vulnerabilities
See our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). See License File for details.
Related Packages
Laravel package to manage, sync, and analyze JSON translation files
Orion for Laravel allows you to build a fully featured REST API based on your El...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.0.21 | ^8.2 | ^10.0|| | MIT | |
| v2.0.20 | ^8.2 | ^10.0|| | MIT | |
| v2.0.19 | ^8.2 | ^10.0|| | MIT | |
| v2.0.18 | ^8.2 | ^10.0|| | MIT | |
| v2.0.17 | ^8.2 | ^10.0|| | MIT | |
| v2.0.16 | ^8.2 | ^10.0|| | MIT | |
| v2.0.15 | ^8.1 | ^10.0| | MIT | |
| v2.0.14 | ^8.1 | ^10.0 | MIT | |
| v2.0.13 | ^8.1 | ^10.0 | MIT | |
| v2.0.12 | ^8.1 | ^10.0 | MIT | |
| v2.0.11 | ^8.1 | ^10.0 | MIT | |
| v2.0.10 | ^8.1 | ^10.0 | MIT | |
| v2.0.9 | ^8.1 | ^10.0 | MIT | |
| v2.0.8 | ^8.1 | ^10.0 | MIT | |
| v2.0.7 | ^8.1 | ^10.0 | MIT | |
| v2.0.6 | ^8.1 | ^10.0 | MIT | |
| v2.0.5 | ^8.1 | ^10.0 | MIT | |
| v2.0.4 | ^8.1 | ^10.0 | MIT | |
| v2.0.3 | ^8.1 | ^10.0 | MIT | |
| v2.0.2 | ^8.1 | ^10.0 | MIT | |
| v2.0.1 | ^8.1 | ^10.0 | MIT | |
| v2.0 | ^8.1 | ^10.0 | MIT | |
| v1.0.6 | ^8.0| | MIT | ||
| v1.0.5 | ^8.0| | MIT | ||
| v1.0.4 | ^8.0| | MIT | ||
| v1.0.3 | ^8.0| | MIT | ||
| v1.0.2 | ^8.0| | MIT | ||
| v1.0.1 | ^8.0| | MIT | ||
| v1.0 | ^8.0| | MIT |