PHPackages                             aschaeffer/sonata-republicandate-field-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aschaeffer/sonata-republicandate-field-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

aschaeffer/sonata-republicandate-field-bundle
=============================================

Symfony Sonata Republican Date Field Bundle

3.5(1y ago)075MITPHPPHP ^7.2 || ^8

Since Oct 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/arnaudschaeffer/SonataRepublicandateFieldBundle)[ Packagist](https://packagist.org/packages/aschaeffer/sonata-republicandate-field-bundle)[ Docs](https://github.com/arnaudschaeffer/SonataRepublicanDateFieldBundle)[ RSS](/packages/aschaeffer-sonata-republicandate-field-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (10)Used By (0)

Sonata Republicandate Field Bundle
==================================

[](#sonata-republicandate-field-bundle)

Sonata Republicandate Field Bundle allow you to define text field which will store date in french republican format

Installation
------------

[](#installation)

Install the package with:

```
composer require aschaeffer/sonata-republicandate-field-bundle
```

If you're *not* using Symfony Flex, you'll also need to enable the `Aschaeffer\SonataRepublicandateFieldBundle\AschaefferSonataRepublicandateFieldBundle` in your `AppKernel.php` file.

Usage
-----

[](#usage)

In your entity, add `RepublicandateField` annotation on a string property that will store the string. Set which property of the entity stores the corresponding datetime

```
