lasselehtinen / woodwing-assets
API wrapper for WoodWing Assets
Installs: 1 436
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.0
- illuminate/contracts: ^9.0|^10.0|^11.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- laravel/pint: ^1.9
- lasselehtinen/laravel-conventions-checker: ^5.0
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.3
- phpunit/phpunit: ^10.0
- spatie/laravel-ray: ^1.35
README
API wrapper for WoodWing Assets
Package for doing REST API queries against Woodwings Elvis DAM (Digital Asset Management).
Installation
You can install the package via composer:
composer require lasselehtinen/woodwing-assets
You can publish the config file with:
php artisan vendor:publish --tag="woodwing-assets-config"
This is the contents of the published config file:
<?php return [ /* |-------------------------------------------------------------------------- | WoodWing Assets configuration |-------------------------------------------------------------------------- | | Note! Remember to include the full API endpoint to the hostname | */ 'endpoint' => env('WOODWING_ASSETS_ENDPOINT', 'https://assets.example.com/services'), 'username' => env('WOODWING_ASSETS_USERNAME', 'guest'), 'password' => env('WOODWING_ASSETS_PASSWORD', 'guest'), ];
Usage
$assets = new \LasseLehtinen\Assets\Assets(); $searchResults = $assets->search(query: 'Jari Tervo', num: 2);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.