nicolaskion / sde
SDE Parser for EVE Online and Laravel
Requires
- php: ^8.3.0
- ext-zip: *
- illuminate/contracts: ^12|^13
- laravel/framework: ^12|^13
- symfony/yaml: ^7.2|^8.0
Requires (Dev)
- laravel/pint: ^1.22.0
- pestphp/pest: ^4.0
- phpstan/phpstan: ^2.1.12
- rector/rector: ^2.0.11
- symfony/var-dumper: ^7.0.0|^8.0.0
README
This package downloads EVE Online's Static Data Export (SDE) and seeds it into your Laravel application's database as Eloquent models.
Requirements
- PHP 8.3+
- Laravel 12 or 13
Installation
You can install the package via composer:
composer require nicolaskion/sde
Publish and run the migrations:
php artisan vendor:publish --tag="sde-migrations"
php artisan migrate
Optionally, publish the config file:
php artisan vendor:publish --tag="sde-config"
If you want to extend or override the bundled Eloquent models, publish them to your application and point the sde.models config entries at your own classes:
php artisan vendor:publish --tag="sde-models"
Usage
Download the latest SDE from CCP:
php artisan sde:download
Seed everything into the database:
php artisan sde:seed
sde:seed orchestrates the individual seeders (icons, units, attributes, market groups, meta groups, categories, groups, graphics, races, effects, types, type attributes, type effects, the universe and more). Each one is also available on its own, e.g.:
php artisan sde:seed:types php artisan sde:seed:universe
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.