Download the PHP package nidhognit/pass-security-bundle without Composer

On this page you can find all versions of the php package nidhognit/pass-security-bundle. 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 pass-security-bundle

PassSecurityBundle

pass security Build Status

The PassSecurityBundle It is designed to help test passwords for entry into the list of unsafe.

Bundle only checks the password in the list, and tells you under what number it was found, the decision about how much it is safe, take you (or you can report it to your users, and to shift the responsibility on them).

I strongly advise against using any password that can be found on this list.

Demo example

Website: https://demo-pass-security-bundle.herokuapp.com

Source code: https://github.com/Nidhognit/demo-pass-security-bundle

Instalation

If you use composer, open a command console, enter your project directory and execute the following command:

Enable the Bundle in AppKernel like this:

The bundle comes with a sensible default configuration. If you need to change them, you can define these in config.yml (more information for bundle configuration below).

How to use

In below example, we imagine, that you want check passwords for user before they submit form:

In this case you must use HTTPS, if you use HTTP - it is very dangerous because of the possibility of MITM.

You also can use console command:

Where 123456 - your custom password.

Documentation

Default configuration:

Value "type" can be file (default), base, custom.

Type "file"

In this case, the password will be read from the file. Default file have 100 000 passwords, and you can use you own file:

Where:

Default bundle have some pass files:

Example (select file with 1 000 000 passwords):

Type "base"

In this case, the passwords will be read from the database. Default configuration looks like this:

You can configure the fololowing variables:

Requirements:

You can use you own passwords data in database, or you can transfer all the data from file with following console command:

This command will write all passwords from "file" (by default Pass100K) in table, who define in entity "class" (by default 'pass_security_base'). By default this command will use Entity, and if you use very big file, it can take a lot of time and memory.

If you do not need to create entities, you can use the option "--sql" like this

Type "custom"

You can also create your own service, for check passwords.

Requirements:


All versions of pass-security-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^5.5.9 || ^7.0
symfony/framework-bundle Version ^2.7 || ^3.0 || ^4.0
symfony/console Version ^2.7 || ^3.0 || ^4.0
symfony/dependency-injection Version ^2.7 || ^3.0 || ^4.0
symfony/config Version ^2.7 || ^3.0 || ^4.0
symfony/yaml Version ^2.7 || ^3.0 || ^4.0
doctrine/orm Version ^2.3
doctrine/doctrine-bundle Version ^1.6
incenteev/composer-parameter-handler Version ^2.0
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 nidhognit/pass-security-bundle contains the following files

Loading the files please wait ....