{"id":16968532,"url":"https://github.com/gustmartins/password-igniter","last_synced_at":"2025-10-27T05:10:50.281Z","repository":{"id":158195883,"uuid":"76129870","full_name":"gustmartins/Password-Igniter","owner":"gustmartins","description":"A simple bcrypt hashing library for CodeIgniter: The Password-Igniter Library!","archived":false,"fork":false,"pushed_at":"2017-04-20T03:56:50.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T23:52:29.367Z","etag":null,"topics":["bcrypt-hashing-library","codeigniter","codeigniter-library","password-hash","password-igniter"],"latest_commit_sha":null,"homepage":null,"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/gustmartins.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-10T18:23:41.000Z","updated_at":"2021-08-27T15:46:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"e72d3ecf-c598-4b21-a41e-1ea3746a8c89","html_url":"https://github.com/gustmartins/Password-Igniter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustmartins%2FPassword-Igniter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustmartins%2FPassword-Igniter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustmartins%2FPassword-Igniter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustmartins%2FPassword-Igniter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gustmartins","download_url":"https://codeload.github.com/gustmartins/Password-Igniter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497852,"owners_count":21113984,"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":["bcrypt-hashing-library","codeigniter","codeigniter-library","password-hash","password-igniter"],"created_at":"2024-10-14T00:12:25.349Z","updated_at":"2025-10-27T05:10:45.244Z","avatar_url":"https://github.com/gustmartins.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Password-Igniter\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)]()\n\nThe perfect solution to storage and handle with passwords! The Password-Igniter Library is a simple bcrypt hashing library for CodeIgniter that can be used if your are going to storage user's password!\nThe Library is an adaption of PHPPass for use as a CodeIgniter library.\n\n## Features\n\n+ Generates _unique_ passwords\n+ Makes your password storage more secure\n\n## Requirements\n\n- PHP version 5.6 or newer is recommended.\n- CodeIgniter version 2.2.1+\n\n## Instalation\n\nTo use the Password-Igniter Library you must copy the file `application/libraries/Password.php` to your own `application/libraries/` folder.\n\nThat's all! Have fun!\n\n## Library Usage\n\n\u003e Below are some examples of what the Assets-Igniter does!\n\n### Loading the Library\n\nYour can load the Password-Igniter as you load any other library:\n\n```php\n\n$this-\u003eload-\u003elibrary('password');\n\n```\n\n### Hashing a password\n\nHashing passwords is easy! You'll pass the password string to the following function:\n\n```php\n\n$str = '1234'; // Please DO NOT use this as your password! Never!\n$password = $this-\u003epassword-\u003ehash($str);\n\n```\n\n**Important**: The function is supposed to return the encrypted password. But if you receive only the character `*` know that an error occurred.\n\n### Checking a password\n\nThe next function will check the password by comparing the input password with the stored hash. So you are going to need both to check the password.\nSince the function will return `true` or `false` depending on success, you can use an `if` clause as the following example:\n\n```php\n\n$str = '1234'; // Please DO NOT use this as your password! Never!\n\nif ($this-\u003epassword-\u003echeck($str, $stored_hash))\n{\n\t// Password matches stored hash\n}\nelse\n{\n\t// Password does not match stored hash\n}\n\n```\n\n## Contributions\n\nThis package was created by [Gustavo Martins][GustMartins], but your help is welcome! Things you are welcome to do:\n\n+ Report any bug you may encounter\n+ Suggest a feature for the project\n\nFor more information about contributing to the project please, read the [Contributing Requirements][contrib].\n\n## Change Log\n\nCurrently, the Password-Igniter Library is in the version **1.0.1**. See the full [Changelog][changelog] for more details.\n\n[GustMartins]: https://github.com/GustMartins\n[contrib]: https://github.com/GustMartins/Password-Igniter/blob/master/contributing.md\n[changelog]: https://github.com/GustMartins/Password-Igniter/blob/master/changelog.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustmartins%2Fpassword-igniter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgustmartins%2Fpassword-igniter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustmartins%2Fpassword-igniter/lists"}