jadob/jadob

PHP Framework.

v0.4.15 2023-03-26 13:25 UTC

README

Packagist

DISCLAIMER

There is no production-ready version at this time. Use at your own risk.

Introduction

Jadob is a PHP8 application framework, based on Symfony components. It comes with the most important stuff needed to start developing your PHP project. Jadob uses Twig for templating and Doctrine ORM/DBAL for SQL databases support.

Requirements

  • PHP 8.2.0 or higher

Things that need to be done before 1.0.0 release

In general

  • Jadob\Core namespace should be renamed to Jadob\Framework
  • No other namespace should rely on Jadob\Framework
  • Psalm workflow must be green
  • Allow to work in multiple dispatch cycles (e.g. in ReactPHP, php-pm, or swoole)
  • 30%+ Code Coverage
  • 40%+ Code Coverage
  • 50%+ Code Coverage
  • 60%+ Code Coverage
  • 70%+ Code Coverage
  • 80%+ Code Coverage
  • 90%+ Code Coverage
  • 95%+ Code Coverage
  • Custom CSRF Extension to Forms
  • Fluent configuration objects for each provider

Jadob\Core namespace should be renamed to Jadob\Framework

Core is ambiguous in this context. This component is responsible only for bootstrapping the whole app, so IMO Framework will be a better name

No other namespace should rely on Jadob\Framework

This makes the rest of components usable outside of this project.

SymfonyTranslationBridge

  • test if regexp can match files with underscores

URL

  • Immutable Url object

Config

  • Support for YAML files
  • Fluent ConfigNode object

EventSourcing

  • Generating events and testcases classes from php/yaml config

Container

  • aliasing
  • better autowiring

Testing

Jadob uses PHPUnit for unit test, Psalm for static analysis and Infection for Mutation testing.

Development tips'n'tricks

CI Workflows

Jadob uses GitHub Actions for performing codebase-related test. If for some reason you do not to run them, please add a [ci-skip] phrase in your commit message.

Getting Started

@TODO

License

MIT