Yes, another PHP framework. The goal with ChassisPHP is to be a framework that simplifies the process of creating a brouchure-type website. We are just getting started. This package is not yet production-ready!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. It's recommended that you use Composer to install ChassisPHP.
- pdo_sqlite extension
$ composer require rogercreasy/chassis-php:dev-master
then go to folder and install your dependency using composer (eg.
$ composer install
and start from there - open it in your browser.
The following steps will help you configure your install of ChassisPHP for the first time.
- Copy the
.envand ensure that it is readable by the web server process. The .env file is pre-populated with a standard configuration for the PDO SQLite extension (pdo_sqlite.)
- Ensure that your sqlite database is upgraded by running the Doctrine ORM schema update. This can be handled in the following ways:
php vendor/bin/doctrine orm:schema-tool:update
php vendor\doctrine\orm\bin\doctrine orm:schema-tool:update or
- Attempt to login to the
/backend/loginpage with the following credentials:
- After logging in, navigate to
/backend/usersand select "Add User."
- Specify your name, email, password, and ensure that you set the user level to
1. It is very important that you create your own unique administrator, so that others cannot circumvent the login protection and login using the default information.
- Delete the default administrator by navigating back to
/backend/usersand selecting "Delete."
To run a test, use:
if your environment isn't set up yet, find phpunit at
We follow PSR-2 for coding style, PSR-4 autoloading, PSR-7 for messaging, and PSR-11 for containers. We also believe in the use of the Oxford comma (see the above line). :-)
ChassisPHP is not bound to any particular component. Whenever possible component use is written such that it can be replaced with a component of the developer's choosing. i.e. the PHP League Container is default. However, if the developer prefers Pimple, she or he can use it.
If you are new to the ChassisPHP project, check out our newbie guide - Contribution guidelines for this project
We REALLY do want your help. ChassisPHP has grown into a project with real potential! We try to be a helpful, welcoming, and nurturing community. Please look at the code, try it out, and let us know what you want changed. Make a pull request for the change, if you want.
- Comment on the issue on which you wish to work (If the issue doesn't exist, create it)
- Fork it!
- Clone the repo:
git clone [insert link]
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- Make any requested changes
ChassisPHP has a quickly growing community of contributors. If you want your name added to that list of contributors, see the "Contributing" section above.
Roger Creasy is the maintainer of the ChassisPHP project, and is its founder.