Giter Site home page Giter Site logo

trehinos / thor Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 11.75 MB

Smart framework for PHP8.1 (mirror)

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

License: MIT License

Twig 8.52% PHP 90.23% CSS 0.36% JavaScript 0.62% Shell 0.28%
php php81 php-framework http-message http-server api-server cli-app daemons composer-project twig php-pdo-wrapper

thor's Introduction

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

thor's People

Contributors

trehinos avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.