Download the PHP package outofoffice/password-generator without Composer

On this page you can find all versions of the php package outofoffice/password-generator. 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 password-generator

Latest Version on Packagist Total Downloads License Laravel Nova v4


  1. Introduction
  2. Installation
    1. Localization
  3. Usage
    1. Password Length
    2. Prefix and Suffixes
    3. Hide Toolbar Elements
    4. Customize Password Generation
    5. Operation Based Filling
    6. Index and Detail View
    7. Other Methods
  4. Credits
    1. Localizations
  5. License

Introduction

Password Generator is a custom field for Laravel Nova (v4), allowing you to add a password generator when creating or updating resources.

Currently, you can show and hide the password. Include or exclude uppercase, lowercase, numbers and symbols from the generated passwords. Change the password length, minimum and maximum length or total length that respects the length of any prefix or suffix used on in the password. Easily copy it to your clipboard and regenerate passwords when you update the options or manually via the button.

Below you will find some more information about the usage of this field.

Installation

Install this package via composer:

Localization

Publish the package language files to your application's resources/lang/vendor directory:

If you would like to help contribute to this package, localizing the package into a language you know would be a huge help!

Usage

You can use the PasswordGenerator field just like the built-in Password field, within your Nova Resources.

There are plenty of optional chain-methods you could add to change the functionality and visuals of the field itself.

Below will show the methods defaults, they're only used when added to the method chain. So some defaults will not reflect the actual field defaults when no meta is passed to it. For example, using fillOnCreate() will have a default of true when using the method, but this is not enabled by default within the actual default field options itself. Unless otherwise stated, with phrases like Enabled/Disabled by default or Included/Excluded by default These methods are meant to allow you to set your own defaults.

Password Length

You can determine the password length, be it generally, totally or the minimum and maximum lengths.

Prefix and Suffixes

Want to customize the password a bit? You can use the prefix() and/or suffix() methods to add a custom string to the beginning or end of a password. If you use the totalLength() method as well you will ensure the length of the password respects your prefix and/or suffix.

Hide Toolbar Elements

Sometimes you may think the option toolbar is too long or is overkill for your app. You can easily decide to hide any or all of the toolbar elements, as well as keep some functionality with other methods listed below.

Customize Password Generation

Depending on your requirements, you might need to include or exclude specific characters from the final charlist used to generate passwords. Use the following methods to accomplish that.

Operation Based Filling

Sometimes you may want to autofill the password when the page is loaded, but usually you don't want to update the passwords when you're editing a resource. But we still have methods for both use-cases.

Index and Detail View

You can now show the value of your field on the index or detail pages, usually you wouldn't want to do this if you're using this field for passwords. But with other use-cases like tokens and such, this would be great. Since there's a detail field now, you can use this within the resource preview modal.

Other Methods

Just a list of other miscellaneous methods to control smaller features.

Credits

Localizations:

License

MIT - Please see the license file for more information.


All versions of password-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.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 outofoffice/password-generator contains the following files

Loading the files please wait ....