Skip to content

2.0.0

Choose a tag to compare

@siberfx siberfx released this 06 Oct 00:17
· 1 commit to main since this release

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\BiletAllClient
  • Siberfx\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=false to disable).
  • pnr-sorgu returns the full BiletAll response; islem-satis validates and returns 501 until a payment integration is wired.
  • The bus-callback route (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.
  • BusSpecHelper feature mapping, XmlToArray count() TypeError on attributed elements, Guzergah empty check, sale passenger validation, hardcoded customer IP.
  • Reference OTipOzellik flags moved to config (default_feature_flags, used in local unless BILETALL_USE_DEFAULT_FEATURE_FLAGS is set).