Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pixelcollective/acorn-media-tools
Work with the WordPress media library in style
https://github.com/pixelcollective/acorn-media-tools
Last synced: 3 months ago
JSON representation
Work with the WordPress media library in style
- Host: GitHub
- URL: https://github.com/pixelcollective/acorn-media-tools
- Owner: pixelcollective
- License: mit
- Created: 2019-08-06T09:23:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:29:54.000Z (11 months ago)
- Last Synced: 2024-07-31T02:34:07.992Z (4 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Acorn Media Library Tools
## Service: library.upload
Example usage:
```php
$image = 'https://cdn.pixabay.com/photo/2018/07/31/22/08/lion-3576045__340.jpg';app()->make('library.upload')->import($image, [
'title' => 'Title (optional)',
'caption' => 'Caption (optional)',
'altText' => 'Alt text (optional)',
'description' => 'Description (optional)',
])->download();
```## Bug Reports
Should you discover a bug with the tools please [open an issue](https://github.com/pixelcollective/acorn-media-tools/issues).
## Contributing
Contributing, whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.
All contributors absolutely must strictly adhere to our [Code of Conduct](https://github.com/pixelcollective/acorn-media-tools/blob/master/LICENSE.md).
## License
These tools are provided under the [MIT License](https://github.com/pixelcollective/acorn-media-tools/blob/master/LICENSE.md).