koodex/persiandatepicker

Minimal Laravel persian date picker

dev-main 2021-08-15 05:16 UTC

This package is auto-updated.

Last update: 2025-06-15 13:33:26 UTC


README

=============================

laravel and babakhani persian date picker

how to install

1- composer create-project laravel/lavarel [youeproject name] --prefer-dist

(above line will install laravel for more information go to laravel web site.)

2- download (koodex-persian-date-picker or clone it)

3- add content of public folder from downloaded koodex persian date picker to your laravel project

(in this folder we have jquery it's from download jquery if you wana you could upgrate it to final release)

(persian date picker for javascript from persian date picker you can upgrate it too.)

(bootstrap from free version of mdbootstrap. this upgrate able too.)

4- in downloaded koodex persian date picker find resource folder replace content file Welcome.blade.php with same in your laravel project

5- in downloaded koodex persian date picker find the helper and copy the content to you'r laravel vendor project in this address

(your project address)\vendor\laravel\framework\src\Illuminate\Foundation

ithis is for laravel 8.5.4 if your laravel version is diferente. dont replace helper.php instead of that open helper.php from our git and find //my functions for that press ctrl+f and type //my function then copy all linse bellow this line to the end and paste them at the end of your laravel helper file in this address

(your project address)\vendor\laravel\framework\src\Illuminate\Foundation

6- serve laravel project and in your web browser go to root url of your project

on git bash

$ php artisan serve

on google chorme

http://localhost:8000

how this work

this is just :

1 fresh start laravel

2-fresh start [Persian Datepicker] from (http://babakhani.github.io/PersianWebToolkit/doc/datepicker/index.html)

3- add a helper with php class call Jdate

thanks

1- laravel [laravel](https://github.com/laravel/laravel)

2- babakhani Persian Date Picker

3- mustafaaloko [mustafaaloko](https://github.com/mustafaaloko/nova-persian-datepicker) for Inspiration

without gigy stuff

i don't add any complex to this and keep it as simple as i could. but this is under mit licence .so if you prefer some auto job. go a head.

License

The MIT License (MIT). Please see License File for more informa