Is it a framework or not?
Tritonium is an MVC microframework that is used by me on some projects.
It contains some helpful services and libraries, a simple templating engine, and other features.
This library is supported by PHP versions 7.0 or higher.
You can clone the complete repository with Git:
$ git clone https://github.com/tregor/Tritonium.git
Or install it manually:
$ wget https://github.com/tregor/Tritonium/archive/master.zip
After downloading you will need to install the framework, init DB connection, and set some other settings.
First, edit config.php for your needs and init DB connection
nano config.php
To start the installation script you need to execute:
php tmd core/install
Available methods in this library:
To create any new migration SQL (install/update/delete operations) use this command:
php tmd migrations/create
This command will execute every well-formatted migration SQL file:
php tmd migrations/migrate
- Add templating engine and view renderer.
- Make model system.
- Develop Request service.
- Make full PDO system, not MYSQL only.
- Make bootstrapping out of autoloading.
- Make an automatic class scanner-mapper
- Add routing and implement controllers.
- Move commands to TMD.
- Implement global access for app vars
- Exceptions system
- Improve routing system with dynamical in-path params
- Make ActiveRecord models
- Improve ActiveQuery system, add OrWhere
- Implement events system
- Remake Migrations controller and core UI
- Exceptions and Errors classification
- Take care to in-framework Error Handler (Inline+Full mode+PrettyVarDumper)
- Improve ErrorHandler, add Inline mode, SQL profilling and JS debugger
- Improve templating engine and view renderer.
- Dictionaries and ENUMs as services
- Make Session and Cookies as JARs
- Make Helpers
- CSV helper, will create object from csv file
- Array helper, jump thru array with string address
- Installation wizard.
- Improve wiki and in-code comments.
- Add caching service built-in ActiveRecord
- Refactor code.
- Take a cup of coffee.
If you would like to help, please take a look at the list of issues or the ToDo checklist.
Pull requests
- Fork and clone.
- Run the tests.
- Create a branch, commit, push and send me a pull request.
This project is licensed under MIT license. See the LICENSE file for more info.
Please let me know if you have any feedback or suggestions.