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-10-19 17:20:51 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
]