Skip to content

switon-php/dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Switon Dict Package

Controlled dictionaries and value-set boundaries for Switon Framework.

Installation

composer require switon/dict

Requirements: PHP 8.3+

Quick Start

use Switon\Dict\Dict;

final class OrderStatus extends Dict
{
    public static function typeCode(): ?string
    {
        return 'order.status';
    }
}

Docs: https://docs.switon.dev/latest/dict

License

MIT.

About

Controlled value-set types for actions, validated inputs, and shared option rows for Switon Framework

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages