evemarket / eve-market-details-laravel-bridge
This is a bridge between the Eve Online Public Crest and the Laravel Framework.
Requires
- php: >=5.6.0
- evemarket/eve-market-details: *
This package is not auto-updated.
Last update: 2024-11-04 07:55:45 UTC
README
This small library is a bridge between the Eve Public Crest PHP Library and the Laravel Framework. it is the continued efforts of the Eve Public Crest PHP Library.
Installation:
composer require evemarket/eve-market-details-laravel-bridge
Set Up
Register the provider:
'providers' => [ ... EveOnlineBridge\Service\Provider\EveMarketProvider::class ],
Register any of the following facades:
'aliases' => [ ... 'EvePrices' => EveOnlineBridge\Service\Facades\PricesFacade::class, 'EveRegions' => EveOnlineBridge\Service\Facades\RegionsFacade::class, 'EveMarketGroups' => EveOnlineBridge\Service\Facades\MarketGroupsFacade::class, 'EveItemDetails' => EveOnlineBridge\Service\Facades\DetailsFacade::class, 'EveRegionOrders' => EveOnlineBridge\Service\Facades\OrderFacade::class, 'EveMarketTypes' => EveOnlineBridge\Service\Facades\TypesFacade::class, 'EveItemHistory' => EveOnlineBridge\Service\Facades\MarketHistoryFacade::class ],
Thats it. You are all ready to go. Each of these services maps to a class that can be injected into a controller action
or called statically via: EvePrices::fnName()
.
You can read the Eve Online Public Crest README to learn more about the library.
Where are the tests?
Please see the Eve Online Public Crest for tests of the actual library.