2017 © Pedro Peláez
 

library laravel-scope-date

Scope for date field (Carbon)

image

kharanenka/laravel-scope-date

Scope for date field (Carbon)

  • Saturday, November 12, 2016
  • by Andrey Kharanenka
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,102 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 28 % Grown

The README.md

Trait DateField

You can use trait in your models with date field (Carbon), (*1)

Installation

Require this package in your composer.json and update composer., (*2)


"kharanenka/laravel-scope-date": "1.0.*"

Usage


class MyModel extend Model { use Kharanenka\Scope\DateField; ... } $obElement = MyModel::getByDateValue('created_at', '2016-02-06', '>=')->first(); $sDate = $obElement->getDateValue('created_at', 'd.m.Y');

The Versions

12/11 2016

dev-master

9999999-dev

Scope for date field (Carbon)

  Sources   Download

GPL-3.0

The Requires

  • php >=5.6

 

by Avatar Andrey Kharanenka

laravel php model date carbon field scope octobercms

12/11 2016

1.0.0

1.0.0.0

Scope for date field (Carbon)

  Sources   Download

GPL-3.0

The Requires

  • php >=5.6

 

by Avatar Andrey Kharanenka

laravel php model date carbon field scope octobercms