gollumsf/doctrine-tinyint

A tinyint type for Doctrine MYSQL

Installs: 48 170

Dependents: 1

Suggesters: 0

Security: 0

Stars: 7

Watchers: 1

Forks: 4

Open Issues: 0

pkg:composer/gollumsf/doctrine-tinyint

v1.1.1 2025-06-03 17:35 UTC

This package is auto-updated.

Last update: 2025-10-03 21:44:42 UTC


README

A tinyint type for Doctrine MYSQL

Installation:

composer require gollumsf/doctrine-tinyint

Configuration:

doctrine:
    dbal:
        types:
            tinyint:  GollumSF\Doctrine\TinyInt

Usage:

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;
use GollumSF\Doctrine\TinyInt;

#[ORM\Entity]
#[ORM\Table(name: 'entities')]
class Entity {
	
	#[Column(name: 'tinyint', type: TinyInt::TINYINT)]
	private int $tinyint;
	
	/////////
	// ... //
	/////////
	
}