This example project demonstrates very basic functionality of the BitFrame PHP Microframework to create a simple website.
- PHP 7.1.0+
- Webserver with URL Rewriting (such as Apache or nginx)
Simply navigate to the basic_website
project directory in terminal/command line (to the folder where composer.json
resides) and run the following command:
composer install
- "designcise/bitframe": "^1.0.0",
- "designcise/bitframe-whoops": "^1.0.0",
- "designcise/bitframe-diactoros": "^1.0.0",
- "designcise/bitframe-fastroute": "^1.0.0",
- "designcise/bitframe-leagueplates": "^1.0.0"
Once you've installed the required dependency files, point your browser to the basic_website
project's url (for example: http://localhost/basic_website/public_html/).
This is meant to be an example project, so prior to using it in production, make sure the following:
- You've taken measures to secure your web project however you see fit;
- You've made necessary changes in env.php file (such as setting
ENV
to'live'
andDEBUG_MODE
tofalse
); - You've edited and customized all template files (if you're using templates);
- You've added/removed the routes (app/routes/..), dependencies (app/config/dependencies.php) and middlewares (app/config/middleware.php) you'll be using.
Please see License File for licensing information.