beaumind/jdate

a simple laravel wrapper for jdate functions

1.0.2 2017-01-04 06:12 UTC

This package is auto-updated.

Last update: 2024-04-19 16:21:04 UTC


README

  • A simple Laravel Wrapper for Alireza-h jdate class.
  • This package compatible with Laravel >=5

Installation

Run the Composer update comand

$ composer require beaumind/jdate

In your config/app.php add 'Beaumind\Jdate\JDateServiceProvider' to the end of the $providers array

'providers' => [

    Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
    Illuminate\Auth\AuthServiceProvider::class,
    ...
    Beaumind\Jdate\JDateServiceProvider::class,

],


'alias' => [
    ...
    'jDate' => Beaumind\Jdate\Facades\JDate::class
]