Download the PHP package luisinder/blowfish-lib without Composer

On this page you can find all versions of the php package luisinder/blowfish-lib. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package blowfish-lib

blowfish-lib

Simple helper library for hashing and verifying passwords using the Blowfish (bcrypt) algorithm in PHP.

โœจ Features

๐Ÿ“ฆ Installation

Via Composer (recommended):

Or clone/download and include the file manually:

โœ… Requirements

๐Ÿš€ Usage

Backwards Compatibility

Older code using:

โ€ฆwill still function, but you should migrate to:

An internal class_alias keeps the legacy lowercase blowFish class name available.

Rehashing Strategy

You can detect when to upgrade stored hashes to a higher cost:

โš™๏ธ Cost Factor Guidance

Typical values: 10โ€“14. Higher = more secure but slower. Benchmark in your environment aiming for ~100ms or less per hash for interactive logins.

๐Ÿ”’ Security Notes

๐Ÿ“„ License

MIT. See LICENSE.

๐Ÿงพ Changelog

See CHANGELOG.md for notable changes.

๐Ÿค Contributing

Issues and pull requests are welcome. Please include a clear description and if possible a test snippet to reproduce or validate the change.

๐Ÿงช Example Script

Run the included example after install:

๐Ÿงช Tests

Install dev dependencies and run PHPUnit:

๐Ÿ›  Continuous Integration

GitHub Actions workflow runs the test suite on PHP 7.4โ€“8.3. See .github/workflows/ci.yml.

Author

Luis Cajigas


Enjoy and stay secure!


All versions of blowfish-lib with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package luisinder/blowfish-lib contains the following files

Loading the files please wait ...