Trehinos / Thor

Smart framework for PHP8.1 (mirror)

Home Page:https://asgard.trehinos.eu/Trehinos/Thor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thor

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

Key features

  • 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 and cli).
  • 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)

Dependencies

Environment

  • GNU/Linux or Windows system. Tested on Virtualbox, XAMPP and WSL2.
  • 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

Server-side vendors

Installed with composer update

  • 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

Web vendors (not included)

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.

Documentation

License

License : MIT
© 2020-2022 Sébastien Geldreich

About

Smart framework for PHP8.1 (mirror)

https://asgard.trehinos.eu/Trehinos/Thor

License:MIT License


Languages

Language:PHP 90.2%Language:Twig 8.5%Language:JavaScript 0.6%Language:CSS 0.4%Language:Shell 0.3%