Download the PHP package congraph/locales without Composer
On this page you can find all versions of the php package congraph/locales. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package locales
congraph/locales
congraph/locales manages available locales in a Congraph installation.
Responsibilities
- locale persistence
- locale CRUD commands and validators
- locale repository bindings
This package is used by eav and any localized content workflows.
Installation
Laravel package provider:
- LocalesServiceProvider.php
Typical usage
Use the package to:
- create locales like
en_US,sr_RS, orfr_FR - fetch configured locales
- drive localized entity fields in
eav
In most apps this package is not consumed directly by controllers; instead it is surfaced through laravel-api.
Development
Install dependencies
Run tests
composer test is fast and SQLite-backed by default.
composer test:pgsql uses an ephemeral PostgreSQL container.
Contribution notes
- preserve locale code normalization behavior
- keep tests env-driven instead of hardcoding a database backend
- prefer PostgreSQL-safe and SQLite-safe queries
All versions of locales with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3 || ^8.4 || ^8.5
congraph/core Version ^2.0 || dev-main || dev-master
congraph/contracts Version ^2.0 || dev-main || dev-master
congraph/core Version ^2.0 || dev-main || dev-master
congraph/contracts Version ^2.0 || dev-main || dev-master
The package congraph/locales contains the following files
Loading the files please wait ...