hesam / shamsi-date
Symfony Shamsi/Persian Date Picker Synced With DateTime ColumnIn Entity
Package info
github.com/SeyyedHesamMirebrahimi/SymfonyShamsiDatePicker
Type:symfony-bundle
pkg:composer/hesam/shamsi-date
dev-master
2020-03-27 16:54 UTC
Requires
- php: ^5.5.9 || ^7.0
This package is auto-updated.
Last update: 2026-02-28 07:07:23 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