hesam/shamsi-date

Symfony Shamsi/Persian Date Picker Synced With DateTime ColumnIn Entity

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/hesam/shamsi-date

dev-master 2020-03-27 16:54 UTC

This package is auto-updated.

Last update: 2025-09-28 06:21:45 UTC


README

Symfony Shamsi/Persian Date Picker Synced With DateTime ColumnIn Entity

Installatioan

composer require hesam/shamsi-date:dev-master

thene add bundle to kernel

\Hesam\ShamsiDate\ShamsiDateBundle::class => ['all' => true],

add these two lines to header of your template file :

<link href="{{ asset('bundles/shamsidate/style-1.css') }}" rel="stylesheet"/>
<script src="{{ asset('bundles/shamsidate/script-1.js') }}"></script>

and the bundle form theme to your config in config/packages/twig.yaml :

 form_themes: ['ShamsiDateBundle:Form:fields.html.twig']

then execute php bin/console assets:install Enjoy It.

Bug Report

send e-mail to me@hmirebrahimi.ir