Download the PHP package gabrielesbaiz/password-toolkit without Composer

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

πŸ” PasswordToolkit

Latest Version on Packagist Total Downloads

Generate memorable, human-friendly passwords with style β€” Goldrake-Mitico-4271, Ferrari-Veloce-9912, Cannolo-Goloso-3301. No more xK#9$!qZ.

PasswordToolkit is a tiny, zero-dependency-friendly Laravel package that crafts passwords by mashing up curated names (Disney, Star Wars, Harry Potter, Studio Ghibli, Italian chefs, philosophers, Formula 1 drivers, Pixar, Game of Thrones, gelato flavors, pasta shapes…) with gender-aware Italian adjectives, optional digits, and even leetspeak. Easy to remember. Fun to use. Battle-tested in real apps.


✨ Features


πŸ“¦ Installation

Publish the config:


πŸš€ Quick start

Or instantiate directly:

Batch generation

generate(1) (default) returns a string. generate(N) with N > 1 returns an array.

Sample output

All rows below show the same picked name (Goldrake) + adjective (Mitico) + number (4271), so you can compare exactly what each option changes.

Config Example
defaults Goldrake-Mitico-4271
separator_symbol => '_' Goldrake_Mitico_4271
numbers_position => 'start' 4271-Goldrake-Mitico
numbers_position => 'middle' Goldrake-4271-Mitico
leetspeak_conversion => 'basic' 901d24k3-M171c0-4271
leetspeak_conversion => 'advanced' 901d24\|<3-\|V\|171<0-4271
add_numbers => false Goldrake-Mitico

πŸ“š Built-in dictionaries

πŸ‘€ People (49) | Dictionary | Example | |---|---| | `back_to_the_future` | Marty McFly | | `cartoons` | Topolino | | `disney_characters` | Cenerentola | | `disney_villains` | Malefica | | `game_of_thrones` | Jon Snow | | `greek_mythology` | Zeus | | `harry_potter` | Albus Silente | | `hayao_miyazaki` | Totoro | | `italian_actors` | Roberto Benigni | | `italian_architects` | Renzo Piano | | `italian_basketball_legends` | Dino Meneghin | | `italian_chefs` | Gualtiero Marchesi | | `italian_comedians` | Maccio Capatonda | | `italian_cyclists` | Fausto Coppi | | `italian_dj_producers` | Benny Benassi | | `italian_explorers` | Cristoforo Colombo | | `italian_fashion_designers` | Giorgio Armani | | `italian_film_directors` | Federico Fellini | | `italian_football_legends` | Roberto Baggio | | `italian_inventors` | Guglielmo Marconi | | `italian_journalists` | Indro Montanelli | | `italian_mathematicians` | Leonardo Fibonacci | | `italian_motogp_legends` | Valentino Rossi | | `italian_musicians` | Lucio Battisti | | `italian_nobel_prize_winners` | Grazia Deledda | | `italian_olympic_legends` | Alberto Tomba | | `italian_opera_composers` | Giuseppe Verdi | | `italian_painters` | Amedeo Modigliani | | `italian_poets` | Dante Alighieri | | `italian_presidents_of_the_republic` | Sandro Pertini | | `italian_racing_drivers` | Alberto Ascari | | `italian_rappers` | Marracash | | `italian_renaissance_artists` | Leonardo da Vinci | | `italian_scientists` | Galileo Galilei | | `italian_singers_classic` | Lucio Dalla | | `italian_singers_modern` | Marco Mengoni | | `italian_superheroes` | Diabolik | | `italian_television_personalities` | Maria De Filippi | | `italian_tennis_players` | Jannik Sinner | | `italian_voice_actors` | Ferruccio Amendola | | `italian_volleyball_legends` | Paola Egonu | | `italian_writers` | Italo Calvino | | `italian_youtubers` | Favij | | `lupin_iii_characters` | Fujiko | | `philosophers` | Cartesio | | `pixar_characters` | Saetta McQueen | | `roman_emperors` | Marco Aurelio | | `roman_mythology` | Giove | | `star_wars` | Luke Skywalker |
🍝 Things (42) | Dictionary | Example | |---|---| | `car_brands` | Ferrari | | `coffee_brands` | Lavazza | | `italian_aperitivi` | Negroni | | `italian_breads` | Ciabatta | | `italian_card_games` | Scopa | | `italian_carnival_masks` | Arlecchino | | `italian_cars` | Cinquecento | | `italian_castles` | Castel del Monte | | `italian_cheeses` | Parmigiano Reggiano | | `italian_children_games_70s` | Subbuteo | | `italian_children_games_80s` | Goldrake | | `italian_children_games_90s` | Tamagotchi | | `italian_children_games_2000s` | Winx Club | | `italian_circus_terms` | Saltimbanco | | `italian_cryptids_legends` | Befana | | `italian_cured_meats` | Mortadella | | `italian_dance_styles` | Tarantella | | `italian_design_objects` | Arco | | `italian_desserts` | Cannolo | | `italian_dialect_words` | Guaglione | | `italian_folk_instruments` | Mandolino | | `italian_icecream_flavors` | Stracciatella | | `italian_invented_words` | Petaloso | | `italian_islands` | Pantelleria | | `italian_lakes` | Garda | | `italian_liqueurs` | Limoncello | | `italian_monuments` | Colosseo | | `italian_motorcycles` | Vespa | | `italian_mountains` | Cervino | | `italian_old_currencies` | Fiorino | | `italian_old_jobs` | Arrotino | | `italian_pasta_shapes` | Fusilli | | `italian_pizza_types` | Margherita | | `italian_progressive_rock_bands` | PFM | | `italian_regional_foods` | Cacciucco | | `italian_rivers` | Tevere | | `italian_sea_creatures` | Polpo | | `italian_street_foods` | Arancino | | `italian_train_stations_classic` | Roma Termini | | `italian_volcanoes` | Etna | | `italian_wine_regions` | Chianti | | `italian_wines` | Barolo |

Toggle each one in config/password-toolkit.php (true / false).


βš™οΈ Configuration

Leetspeak cheat sheet

char basic advanced
a 4 4
e 3 3
i / l 1 1
o 0 0
s $ $
m β€” \|V\|
w β€” \\/\\/
n β€” \|\\\|

advanced mode expands character count β€” useful for stricter length policies.


πŸ›‘οΈ Strength reporter

Two entry points:

Score thresholds

bits score label
< 28 0 very_weak
28–35 1 weak
36–59 2 fair
60–127 3 strong
β‰₯ 128 4 very_strong

Crack time defaults to 1e10 guesses/sec (offline GPU vs fast hash). Override via config/password-toolkit.php:

The structural model accounts for the fact a dictionary-aware attacker only searches the package's pool space, not the full charset β€” usually a much lower (and more realistic) entropy figure.


πŸ§ͺ Testing


πŸ›£οΈ Roadmap ideas

PRs welcome. πŸ™Œ


πŸ“ Changelog

See CHANGELOG.

🀝 Contributing

See CONTRIBUTING.

πŸ›‘οΈ Security

⚠️ Memorable passwords trade entropy for usability. For high-security secrets (API keys, root creds) prefer Str::random() or random_bytes(). PasswordToolkit shines for user onboarding, default credentials, share links, demo accounts.

Report vulnerabilities via our security policy.

πŸ™ Credits

πŸ“„ License

MIT.


All versions of password-toolkit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.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 gabrielesbaiz/password-toolkit contains the following files

Loading the files please wait ...