This is a custom PHP framework using the MVC design pattern. Created by Cameron Brown, the framework was inspired by and adapted from Brad Traversy's TraversyMVC.
First, you'll want to download and host this project through an Apache Desktop Server such as XAMPP. Once you've got that sorted, here's how to start customizing the framework.
- Rename the main project folder for your project (ex. 'my-project')
- Use PHPMyAdmin (through your localhost dashboard) to create a Database (ex. 'my-db')
- set your root password and privileges for the Database
- Update the variables in the config file ('../app/config/config.php)
- set DBNAME to 'my-db', etc.
- Update Line 4 in the main htaccess file ('../.htaccess')
- You can now begin customizing and creating your own components
- check out '../libraries/Database.php' for example DB methods
- Model files should be written in singular form (ex. 'Post.php')
- Controller files should be written in plural form (ex. 'Posts.php')
- More information regarding this particular framework structure can be found here
- For presentation purposes, the header and footer files ('../views/inc/') contain external links to a Bootstrap 4 CDN (CSS and JS files)