{"id":23380683,"url":"https://github.com/softonic/oauth2-provider","last_synced_at":"2025-04-10T22:44:04.601Z","repository":{"id":55156838,"uuid":"100478459","full_name":"softonic/oauth2-provider","owner":"softonic","description":"Softonic OAuth2 provider","archived":false,"fork":false,"pushed_at":"2024-07-17T14:15:28.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-24T19:39:49.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softonic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2017-08-16T10:40:38.000Z","updated_at":"2024-07-17T14:14:55.000Z","dependencies_parsed_at":"2022-08-14T13:41:15.605Z","dependency_job_id":null,"html_url":"https://github.com/softonic/oauth2-provider","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Foauth2-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Foauth2-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Foauth2-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Foauth2-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softonic","download_url":"https://codeload.github.com/softonic/oauth2-provider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247994136,"owners_count":21030050,"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","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":[],"created_at":"2024-12-21T20:17:57.924Z","updated_at":"2025-04-10T22:44:04.558Z","avatar_url":"https://github.com/softonic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Softonic OAuth2 Provider\n=====\n\n[![Latest Version](https://img.shields.io/github/release/softonic/oauth2-provider.svg?style=flat-square)](https://github.com/softonic/oauth2-provider/releases)\n[![Software License](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat-square)](LICENSE.md)\n[![Build Status](https://github.com/softonic/oauth2-provider/actions/workflows/build.yml/badge.svg)](https://github.com/softonic/oauth2-provider/actions/workflows/build.yml)\n[![Total Downloads](https://img.shields.io/packagist/dt/softonic/oauth2-provider.svg?style=flat-square)](https://packagist.org/packages/softonic/oauth2-provider)\n[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/softonic/oauth2-provider.svg?style=flat-square)](http://isitmaintained.com/project/softonic/oauth2-provider \"Average time to resolve an issue\")\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/softonic/oauth2-provider.svg?style=flat-square)](http://isitmaintained.com/project/softonic/oauth2-provider \"Percentage of issues still open\")\n\nThis package provides Softonic OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).\n\nInstallation\n-------\n\nYou can require the last version of the package using composer\n```bash\ncomposer require softonic/oauth2-provider\n```\n\n### Configuration\n\n```php\n\u003c?php\n\n$options = [\n    'clientId' =\u003e 'myClient',\n    'clientSecret' =\u003e 'mySecret'\n];\n\n$client = new Softonic\\OAuth2\\Client\\Provider\\Softonic($options);\n\n$token = $client-\u003egetAccessToken('client_credentials', ['scope' =\u003e 'myscope']);\n```\n\n\nTesting\n-------\n\n`softonic/oauth2-provider` has a [PHPUnit](https://phpunit.de) test suite, and a coding style compliance test suite using [PHP CS Fixer](http://cs.sensiolabs.org/).\n\nTo run the tests, run the following command from the project folder.\n\n``` bash\n$ make tests\n```\n\nTo open a terminal in the dev environment:\n``` bash\n$ make debug\n```\n\nLicense\n-------\n\nThe Apache 2.0 license. Please see [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Foauth2-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftonic%2Foauth2-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Foauth2-provider/lists"}