

Secure Password Generator PHP ScriptSecure Password Generator PHP Script
A simple but powerful password generator built with PHP
Secure Password Generator PHP Script
A simple but powerful password generator built with PHP
Overview
Random and unique passwords are the best defense against online threats. If you use the same password for different accounts, an attacker only needs to steal one password to get access to all your accounts. With this app, you can create passwords that are hard to guess and harder for computer programs to crack.
Change Log
[1.0.0] - 2021-08-13
- First release
[1.0.1] - 2022-02-13
- CodeIgniter updated from 4.1.3 to 3.1.8
- Minimum PHP version changed from 7.3 to 7.4
- “system/” folder instead of “vendor/” folder
- Showing a loader while the password is generated
- The error box can now be dismissed with a close button
- Code cleaned up and optimized
Features
- Simple and clean design
- Lightweight
- bootstrap 5
- Responsive
- CodeIgniter 4
Requirements
- PHP version 7.4 or newer.
- Apache server.
- The following PHP extensions should be installed and enabled:
intl
,mbstring
,php-json
,php-mysqlnd
, andphp-xml
. mod_rewrite
enabled.
Instructions
To host your app on a shared hosting account, you need to restructure your project:
- Copy the content of the project's
public
directory to the server'spublic_html
directory - Copy
/app
,/system
,/writable
, and.env
to the server'sroot
folder. The rest of the files are not necessary for production.
Now your project structure should look like this:
/root (shared hosting root directory) |__ /app |__ /system |__ /writable |__ .env | |__ public_html |__ /assets |__ index.php |__ .htaccess (IMPORTANT!) |__ favicon |__ robots.txt
Next, you need to change some values to configure your project properly:
-
Open
.env
file and make sure thatCI_ENVIRONMENT
is set toproduction
- Open
.env
and replace the value ofapp.baseURL
with your domain name. Must include the trailing "/":
app.baseURL = 'http://yourdomain.com/'
More details are included in the documentation, and if you need more assistance deploying the app, please contact me via my above email. I'll be glad to help.
That's all and good luck!
Category | Scripts & Code / PHP Scripts / Security |
First release | 13 August 2021 |
Last update | 14 February 2022 |
Software version | PHP 7.4, PHP 8.0 |
Files included | .php, .css, .html, Javascript .js |
Tags | php, password, generator, password generator, Random, secure, codeigniter, strong password |