dev-fighters/symfony

mini-framework for Symfony

1.0.1 2024-04-19 13:53 UTC

This package is auto-updated.

Last update: 2024-10-19 14:47:39 UTC


README

REQUIREMENTS

  • Requires PHP >= 8.1

INSTALLATION

  • Install with composer : composer require dev-fighters/symfony

  • Add to config/packages/doctrine.yaml :

  doctrine:
    dbal:
      charset: utf8
      default_table_options:
        charset: utf8
        collate: utf8_unicode_ci
      types:
        mediumint: DevFighters\Symfony\Database\Type\MediumintType
        tinyint: DevFighters\Symfony\Database\Type\TinyintType
        datetime: DevFighters\Symfony\Database\Type\DateTimeType
        date: DevFighters\Symfony\Database\Type\DateType
      dql:
        string_functions:
          replace: DoctrineExtensions\Query\Mysql\Replace
          MONTH: DoctrineExtensions\Query\Mysql\Month
          YEAR: DoctrineExtensions\Query\Mysql\Year