https://github.com/techreagan/boss
Boss is a mini simple PHP mvc framework
https://github.com/techreagan/boss
mysql pdo php php-framework php7
Last synced: 2 days ago
JSON representation
Boss is a mini simple PHP mvc framework
- Host: GitHub
- URL: https://github.com/techreagan/boss
- Owner: techreagan
- Created: 2018-10-29T11:12:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T10:07:44.000Z (over 6 years ago)
- Last Synced: 2025-04-18T01:48:08.747Z (8 days ago)
- Topics: mysql, pdo, php, php-framework, php7
- Language: PHP
- Size: 21.5 KB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BOSS
Boss Mini PHP framework created by [Tech Reagan](https://github.com/techreagan)
### Disclaimer
This project is still in alpha version,
If you are interested in helping out with solving bugs and developing new features you are welcome to do so.## Getting Started
Copy the project in your development folder.
Follow the instructions to complete the installation.### Installation
* Apache Server
* PHP 5.6+
* Mysql DatabaseInstall [XAMPP](https://www.apachefriends.org/it/index.html) for an easy quickstart for windows
Install [MAMPP](https://www.mamp.info/en/downloads/) for an easy quickstart for mac
Or use whatever suit you.
### Configuration File
Modify the app/config/config.php file according to your needs.
``` PHP
//Database Configuration
define('DB_HOST', '_YOUR_HOST');
define('DB_USER', '_YOUR_DATABSE_USERNAME');
define('DB_PASS', '_YOUR_DATABASE_PASSWORD');
define('DB_NAME', '_YOUR DATABASE_NAME');
// App Root
define('APPROOT', dirname(dirname(__FILE__)));
// URL Root
define('URLROOT', '_YOUR_URL_');
// Site Name
define('SITENAME', '_YOUR_SITENAME_');
```### Htaccess file
Modify the .htaccess file inside the public folder to match the name of your installation folder, Modify only the RewriteBase.
```
Options -Multiviews
RewriteEngine On
RewriteBase /boss/public
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]```
## Documentation
More documentation coming soon..## Built With
* PHP
* Mysql## License
This project is licensed under the MIT License