- SPG mean Strong Password Generator.
- SPG Generate Strong password with some stuff.
- SPG Created by PHP and OOP Design.
- SPG Can save who used, with ip and saved password.
- Because is an offline password generator.
- Easy for Development.
composer install
RootPath = "/Applications/XAMPP/xamppfiles/htdocs/SPG" --> enter you're root path in here
DB_ENGINE = "mysql" --> you're storage engine
DB_HOST = "localhost" --> you're host
DB_NAME = "SPG_DB" --> you're database name for storage user ip and password
DB_USER = "root" --> you're password for login
DB_PASSWORD = --> if you have password for login in to, fill it
3. After config .env file you should to change MAIN_PATH in init.php in this path, bootstap > init.php ->
define("MAIN_PATH", "/Applications/XAMPP/xamppfiles/htdocs/SPG/" --> change this);
After these you can start Developing.
We have some folder but these are very important and very important to you to should you to put any things in the true place.
App | bootstrap | helper | View |
---|---|---|---|
Controller | init.php | helpers.php | home |
Requests | |||
Model | |||
Utilities |
-
App Folder
- App folder for All Actions in you're program.
- in Controller Folder, you can put you're controller in here
- Request Folder, Request Folder for routing file and request processing file.
- Model, Models Folder for you're model to connection and action to you're database.
- Utilities, Utilities folder for put you're Utilities you needed.
-
bootstrap Folder
- bootstrap folder for init file or can named it main file.
- you can change it when you needed.
-
helper Folder
- helper Folder for helpers file you can put it in.
- i put a helper a think i can use it, View() helper.
- View() helper for load a view (template).
-
View Folder
- View Folder for you're template.
- you can put you're tamplate in here, like this 'helper > home > index.php' or 'helper > about > index.php'
- my email is: alireza.karimi.programmer@gmail.com
- my telegram username: Alirez0K