Skip to content

Releases: siberfx/biletall-php

2.1.0

Choose a tag to compare

@siberfx siberfx released this 06 Oct 00:23

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 OTipOzellik bus feature flags work.
  • examples/: trip search, seat check, PNR lookup, custom controller, testing with Soap::fake().
  • .gitattributes keeps tests/, examples/ and .github/ out of Composer dist archives.

No code changes since 2.0.0.

2.0.0

Choose a tag to compare

@siberfx siberfx released this 06 Oct 00:17

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).

1.0.0-alpha

Choose a tag to compare

@siberfx siberfx released this 28 Dec 01:14

its a testing repo, will be adjusted for better quality of services