Repository navigation
Releases: siberfx/biletall-php
Releases · siberfx/biletall-php
Release list
2.1.0
Added
- GitHub Actions test workflow: PHP 8.4 / 8.5 × Laravel 12 / 13, lowest and stable dependencies.
- README badges (Packagist, tests, PHP, Laravel, downloads, license).
- README: endpoint calls with a sample response, and how the
OTipOzellikbus feature flags work. examples/: trip search, seat check, PNR lookup, custom controller, testing withSoap::fake()..gitattributeskeepstests/,examples/and.github/out of Composer dist archives.
No code changes since 2.0.0.
2.0.0
Highlights
- SOAP transport is now siberfx/laravel-soap — calls can be faked with
Soap::fake(['biletall.XmlIslet' => ...]). - Requires PHP ^8.4 and Laravel 12 / 13.
- Command parameters are XML-escaped; SOAP faults and unreadable responses throw
BiletAllException(rendered as 502 JSON). - Bus stop listing and search (
kara-noktasi-getir,kara-noktasi-bul?term=) implemented with caching. - Test suite added (Testbench + PHPUnit).
Breaking changes
Siberfx\BiletAll\app\Services\BiletAllSoapClient→Siberfx\BiletAll\Services\BiletAllClientSiberfx\BiletAll\app\Http\Controllers\BusResourceController→Siberfx\BiletAll\Http\Controllers\BusResourceController- New config layout — republish with
php artisan vendor:publish --tag=biletall-config --force. Credentials:BILETALL_WS_USERNAME,BILETALL_WS_PASSWORD. - SSL verification is on by default (
BILETALL_VERIFY_SSL=falseto disable). pnr-sorgureturns the full BiletAll response;islem-satisvalidates and returns 501 until a payment integration is wired.- The
bus-callbackroute (no controller method) was removed.
Fixes
- Config values were never read (
biletAll.*keys), so sandbox mode and credentials had no effect. - Package route file path did not exist.
BusSpecHelperfeature mapping,XmlToArraycount()TypeError on attributed elements, Guzergah empty check, sale passenger validation, hardcoded customer IP.- Reference OTipOzellik flags moved to config (
default_feature_flags, used inlocalunlessBILETALL_USE_DEFAULT_FEATURE_FLAGSis set).
1.0.0-alpha
its a testing repo, will be adjusted for better quality of services