{"id":21846095,"url":"https://github.com/owenvoke/splas-php","last_synced_at":"2025-07-23T15:07:58.339Z","repository":{"id":62531402,"uuid":"76269961","full_name":"owenvoke/splas-php","owner":"owenvoke","description":"A simple PHP wrapper for utilising the Unsplash api.","archived":false,"fork":false,"pushed_at":"2019-03-14T12:33:49.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T16:58:47.000Z","etag":null,"topics":["php-wrapper","splas-php","unsplash"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/pxgamer/splas-php","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owenvoke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-12T15:34:48.000Z","updated_at":"2019-10-11T03:41:45.000Z","dependencies_parsed_at":"2022-11-02T14:32:39.582Z","dependency_job_id":null,"html_url":"https://github.com/owenvoke/splas-php","commit_stats":null,"previous_names":["pxgamer/splas-php"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/owenvoke/splas-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fsplas-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fsplas-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fsplas-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fsplas-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owenvoke","download_url":"https://codeload.github.com/owenvoke/splas-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fsplas-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266699816,"owners_count":23970569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php-wrapper","splas-php","unsplash"],"created_at":"2024-11-27T23:12:43.661Z","updated_at":"2025-07-23T15:07:58.319Z","avatar_url":"https://github.com/owenvoke.png","language":"PHP","readme":"# splas-php\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Build Status][ico-travis]][link-travis]\n[![Style CI][ico-styleci]][link-styleci]\n[![Code Coverage][ico-code-quality]][link-code-quality]\n[![Total Downloads][ico-downloads]][link-downloads]\n\nA simple PHP wrapper for utilising the [Unsplash] api.\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require pxgamer/splas-php\n```\n\n## Usage\n\n```php\n$splas = new Splas('APP_ID');\n```\n\nFunctions                    | Parameters | Returns\n---------------------------- | ---------- | -------\n`$splas-\u003egetPhotos()`        | void       | array\n`$splas-\u003egetCuratedPhotos()` | void       | array\n`$splas-\u003egetRandom()`        | void       | array\n`$splas-\u003egetPhoto($id)`      | string     | array\n`$splas-\u003egetStats($id)`      | string     | array\n`$splas-\u003egetLink($id)`       | string     | array\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [pxgamer][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[unsplash]: https://unsplash.com\n\n[ico-version]: https://img.shields.io/packagist/v/pxgamer/splas-php.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/pxgamer/splas-php/master.svg?style=flat-square\n[ico-styleci]: https://styleci.io/repos/76269961/shield\n[ico-code-quality]: https://img.shields.io/codecov/c/github/pxgamer/splas-php.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/pxgamer/splas-php.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/pxgamer/splas-php\n[link-travis]: https://travis-ci.org/pxgamer/splas-php\n[link-styleci]: https://styleci.io/repos/76269961\n[link-code-quality]: https://codecov.io/gh/pxgamer/splas-php\n[link-downloads]: https://packagist.org/packages/pxgamer/splas-php\n[link-author]: https://github.com/pxgamer\n[link-contributors]: ../../contributors\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fsplas-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowenvoke%2Fsplas-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fsplas-php/lists"}