2017 © Pedro Peláez
 

library laravel-scope-active

Scope for field 'active' (bool)

image

kharanenka/laravel-scope-active

Scope for field 'active' (bool)

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

The README.md

Trait ActiveField

You can use trait in your models with "active" field (bool), (*1)

Installation

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


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

Usage



class MyModel extend Model { use Kharanenka\Scope\ActiveField; ... } $obElement = MyModel::active()->first(); $obElement = MyModel::notActive()->first();

The Versions

12/11 2016

dev-master

9999999-dev

Scope for field 'active' (bool)

  Sources   Download

GPL-3.0

The Requires

  • php >=5.6

 

by Avatar Andrey Kharanenka

laravel php model field active scope octobercms

12/11 2016

1.0.3

1.0.3.0

Scope for field 'active' (bool)

  Sources   Download

GPL-3.0

The Requires

  • php >=5.6

 

by Avatar Andrey Kharanenka

laravel php model field active scope octobercms

26/10 2016

1.0.2

1.0.2.0

Scope for field 'active' (bool)

  Sources   Download

GPL-3.0

The Requires

  • php >=5.6

 

by Avatar Andrey Kharanenka

laravel php model field active scope octobercms

26/10 2016

1.0.1

1.0.1.0

Scope for field 'active' (bool)

  Sources   Download

GPL-3.0

The Requires

  • php >=5.6

 

by Avatar Andrey Kharanenka

laravel php model field active scope octobercms

28/09 2016

1.0.0

1.0.0.0

Scope for field 'active' (bool)

  Sources   Download

GPL-3.0

The Requires

  • php >=5.6

 

by Avatar Andrey Kharanenka

laravel php model field active scope octobercms