Download the PHP package owen-oj/laravel-getid3 without Composer
On this page you can find all versions of the php package owen-oj/laravel-getid3. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download owen-oj/laravel-getid3
More information about owen-oj/laravel-getid3
Files in owen-oj/laravel-getid3
Package laravel-getid3
Short Description This package is a wrapper around james-heinrich/getid3 to extract various information from media files
License MIT
Homepage https://github.com/owen-oj/laravel-getid3
Informations about the package laravel-getid3
laravel-getid3
This package is a wrapper around james-heinrich/getid3.
Installation
Via Composer
If you use Laravel 5.5+ you don't need the following step. If not, once package is installed, you need to register the service provider. Open config/app.php and add the following to the providers key.
Usage
We can also extract the artwork from the file
Available Methods
extractInfo() : array
Get an array of all available metadata of file
getArtist() : string
Get the artist of the track
getTitle() : string
Get the title of the track
getAlbum() : string
Get name of Album
getPlaytime() : string
Get a tracks total playtime
getPlaytimeSeconds() : float
Get total playtime in seconds
getArtwork()
Get the artwork of the track
getGenres() : array
Get the list of genres
getComposer() : string
Get the composers of the track
getTrackNumber() : string
Get the track number out of total number on album eg. 1/12
getCopyrightInfo() : string
Get copyright information of the track
getFileFormat() : string
Get the file format of the file eg. mp4
Change log
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Owen Jubilant
- All Contributors
License
MIT. Please see the license file for more information.