Thor is designed as a PHP framework as well as a web software.
This project's goal is to provide a base project for PHP developers to develop corporate projects.
This project is still in active development : public API may change, but tagged versions are usable as is.
In further releases, the installation process will be simplified.
© 2020-2022 Sébastien GELDREICH
- A complete Framework (Routing, Controllers, HTTP client, Database, Cli),
- A daemon scheduler to run automated tasks periodically,
- PHP8.1 attributes (
#[Route]
,#[Authorization]
,#[PdoTable]
,#[PdoColumn]
,#[PdoIndex]
,#[PdoForeignKey]
) - Twig templating
- Custom kernels to add new entry points (default are
web
,daemon
andcli
). - Pre-developed features :
- Base web application :
- Index, legal page, changelog and about,
- Menu system with icons and authorizations,
- Pages loaded with AJAX,
- Users management and authentication, with a permission system,
- Cli commands :
- User :
create
,edit
,delete
,list
, - Core :
setup
,update
,migrate
,set-env
- Clear :
cache
,logs
, - Route :
list
- Daemons :
status
,state
,run
,kill
project/document
: auto-documentation of your project in markdown (an example here)
- User :
- Base web application :
GNU/Linux
orWindows
system. Tested onVirtualbox
,XAMPP
andWSL2
.- PHP 8.1 + PDO + DBMS PDO drivers
- PHP-EXT
calendar
curl
ftp
intl
json
mbstring
openssl
pdo
ssh2
zip
- PDO compatible DBMS
- HTTP server
- Composer
- phpoffice/phpspreadsheet:
1.x
- datatables.net/editor-php:
2.x
- symfony/var-dumper:
5.x
- symfony/yaml:
5.x
- twig/twig:
3.x
- phpunit/phpunit :
9.x
These vendors only have to be installed if you want to use Thor to build a web application AND you use the pre-developed views.
Feel free to use your own libraries/vendors if you don't use Thor's pre-developed views.
- JQuery 3.6.0
- Bootstrap 5.1.3
- Fontawesome 5.15.1 PRO icons licence required
- DataTables 1.11.3
License : MIT
© 2020-2022 Sébastien Geldreich