{"id":20254818,"url":"https://github.com/chippyash/authentication-manager","last_synced_at":"2026-05-12T06:33:03.915Z","repository":{"id":24844968,"uuid":"28259874","full_name":"chippyash/Authentication-Manager","owner":"chippyash","description":"Provides base for creating managers that manage identity entries in some back end authentication system.","archived":false,"fork":false,"pushed_at":"2018-02-07T22:51:15.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T03:34:14.887Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chippyash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-20T07:05:34.000Z","updated_at":"2016-03-03T20:08:54.000Z","dependencies_parsed_at":"2022-08-21T03:40:20.839Z","dependency_job_id":null,"html_url":"https://github.com/chippyash/Authentication-Manager","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chippyash%2FAuthentication-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chippyash%2FAuthentication-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chippyash%2FAuthentication-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chippyash%2FAuthentication-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chippyash","download_url":"https://codeload.github.com/chippyash/Authentication-Manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241705919,"owners_count":20006399,"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-11-14T10:35:01.906Z","updated_at":"2026-05-12T06:33:03.862Z","avatar_url":"https://github.com/chippyash.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chippyash/authentication-manager\n\n## Quality Assurance\n\n![PHP 5.5](https://img.shields.io/badge/PHP-5.5-blue.svg)\n![PHP 5.6](https://img.shields.io/badge/PHP-5.6-blue.svg)\n![PHP 7](https://img.shields.io/badge/PHP-7-blue.svg)\n[![Build Status](https://travis-ci.org/chippyash/Authentication-Manager.svg?branch=master)](https://travis-ci.org/chippyash/Authentication-Manager)\n[![Test Coverage](https://codeclimate.com/github/chippyash/Authentication-Manager/badges/coverage.svg)](https://codeclimate.com/github/chippyash/Authentication-Manager/coverage)\n[![Code Climate](https://codeclimate.com/github/chippyash/Authentication-Manager/badges/gpa.svg)](https://codeclimate.com/github/chippyash/Authentication-Manager)\n\n### End of life notice\n\nIn March 2018, developer support will be withdrawn from this library for PHP \u003c5.6. Older\nversions of PHP are now in such little use that the added effort of maintaining \ncompatibility is not effort effective.  See [PHP Version Stats](https://seld.be/notes/php-versions-stats-2017-1-edition)\n for the numbers.\n \n## What?\n\nProvides base for creating managers that manage identity entries in some back\nend authentication system.\n\nThe single one provided at present is an HTTP Basic Digest Manager.\n\nThe library is released under the [GNU GPL V3 or later license](http://www.gnu.org/copyleft/gpl.html)\n\n## When?\n\nIf you want more, either suggest it, or better still, fork it and provide a pull request.\n\n## How?\n\nYou can find the [API documentation here](http://chippyash.github.io/Authentication-Manager)\n\nYou will find the Test Contract in the docs directory alongside an example\nSymfony DI container definition.\n\n### Coding Basics\n\n#### Construction\n\n\u003cpre\u003e\n    use Chippyash\\Authentication\\Manager\\DigestManager;\n    use Chippyash\\Authentication\\Manager\\Encoder\\BasicEncoder;\n    use Chippyash\\Authentication\\Manager\\Digest\\BasicDigestCollection;\n    use Chippyash\\Type\\String\\StringType;\n\n    $realm = new StringType('realm');\n    $digestFileName = new StringType('/path/to/my/file');\n\n    $encoder = new BasicEncoder();\n    $encoder-\u003esetRealm($realm);\n\n    $collection = new BasicDigestCollection($encoder, $digestFileName);\n    $collection-\u003esetRealm($realm);\n\n    $this-\u003eauthManager = new DigestManager($collection);\n\u003c/pre\u003e\n\n#### Adding new manager types\n\nImplement the Chippyash\\Authentication\\Manager\\ManagerInterface to create new types of Authentication Managers.\n\n### Changing the library\n\n1.  fork it\n2.  write the test\n3.  amend it\n4.  do a pull request\n\nFound a bug you can't figure out?\n\n1.  fork it\n2.  write the test\n3.  do a pull request\n\nNB. Make sure you rebase to HEAD before your pull request\n\n## Where?\n\nThe library is hosted at [Github](https://github.com/chippyash/Authentication-Manager). It is\navailable at [Packagist.org](https://packagist.org/packages/chippyash/authentication-manager)\n\n### Installation\n\nInstall [Composer](https://getcomposer.org/)\n\n#### For production\n\n\u003cpre\u003e\n    \"chippyash/authentication-manager\": \"~2.0\"\n\u003c/pre\u003e\n\nto your composer.json \"requires\" section\n\n#### For development\n\nClone this repo, and then run Composer in local repo root to pull in dependencies\n\n\u003cpre\u003e\n    git clone git@github.com:chippyash/Authentication-Manager.git AuthMan\n    cd AuthMan\n    composer install\n\u003c/pre\u003e\n\nTo run the tests:\n\n\u003cpre\u003e\n    cd AuthMan\n    vendor/bin/phpunit -c test/phpunit.xml test/\n\u003c/pre\u003e\n\nIf you have [Testdox Converter](https://packagist.org/packages/chippyash/testdox-converter)\ninstalled you can rebuild the Test Contract by running build.sh on \\*nix systems.\n \n\n## Other stuff\n\nCheck out [ZF4 Packages](http://zf4.biz/packages?utm_source=github\u0026utm_medium=web\u0026utm_campaign=blinks\u0026utm_content=slimdicexample) for more packages\n\n## License\n\nThis software library is released under the [GNU GPL V3 or later license](http://www.gnu.org/copyleft/gpl.html)\n\nThis software library is Copyright (c) 2014-2016, Ashley Kitson, UK\n\nA commercial license is available for this software library, please contact the author. \nIt is normally free to deserving causes, but gets you around the limitation of the GPL\nlicense, which does not allow unrestricted inclusion of this code in commercial works.\n\n## History\n\nV0...  pre releases\n\nV1.0.0 Initial version tagged\n\nV1.0.1 Amends for CI\n\nV1.0.2 Typos in dic example\n\nV1.0.3 Self initialise the manager\n\nV2.0.0 BC Break: change namespace from chippyash\\Authentication to Chippyash\\Authentication\n\nV2.0.1 Add link to packages\n\nV2.0.2 Verify PHP7 compatibility\n\nV2.0.3 Move coverage to codeclimate\n\nV2.0.4 Update travis build script\n\nV2.0.5 update composer - forced by packagist composer.json format change\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchippyash%2Fauthentication-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchippyash%2Fauthentication-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchippyash%2Fauthentication-manager/lists"}