2017 © Pedro Peláez
 

yii2-extension yii2-magic

Improvements to Yii2 framework.

image

sam-it/yii2-magic

Improvements to Yii2 framework.

  • Thursday, November 16, 2017
  • by SamMousa
  • Repository
  • 2 Watchers
  • 15 Stars
  • 3,069 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 20 Versions
  • 14 % Grown

The README.md

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads, (*1)

yii2-magic

Improvements for Yii2 that make it more "magic"., (*2)

ActionInjectionTrait

Use this trait in your controller to get dependency injection in controller actions., (*3)

use \SamIT\Yii2\Traits\ActionInjectionTrait;

HighlightUnsafeAttributesTrait

Use this trait in your form to highlight unsafe attributes., (*4)

use \SamIT\Yii2\Traits\HighlightUnsafeAttributesTrait;

SingleTableInheritanceTrait

Use this trait in your active record model to implement single table inheritance., (*5)

use \SamIT\Yii2\Traits\SingleTableInheritanceTrait;

protected static function inheritanceConfig()
{
    return [
        'map' => [
            PartnerProject::class => 'partner'
        ],
        'column' => 'type'
    ];
}

This trait uses a different query object. If you use your own ActiveQuery implementation, use SingleTableInheritanceQueryTrait., (*6)

The Versions

16/11 2017

dev-master

9999999-dev

Improvements to Yii2 framework.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

16/11 2017

v2.2.0

2.2.0.0

Improvements to Yii2 framework.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

16/11 2017

v2.1.0

2.1.0.0

Improvements to Yii2 framework.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

03/11 2017

v2.0.2

2.0.2.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

03/11 2017

v2.0.1

2.0.1.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

03/11 2017

v2.0.0

2.0.0.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

22/06 2017

v1.5.1

1.5.1.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

29/12 2016

v1.5.0

1.5.0.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

10/11 2016

v1.3.2

1.3.2.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

04/11 2016

v1.4.0

1.4.0.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

14/10 2016

v1.3.1

1.3.1.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

12/10 2016

v1.3.0

1.3.0.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

18/05 2016

v1.2.0

1.2.0.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

12/05 2016

v1.1.1

1.1.1.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

12/05 2016

v1.1

1.1.0.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

by Joey Claessen

21/03 2016

v1.0.4

1.0.4.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

16/02 2016

v1.0.3

1.0.3.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

15/02 2016

v1.0.2

1.0.2.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

15/02 2016

v1.0.1

1.0.1.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires

 

15/02 2016

v1.0.0

1.0.0.0

Improvements to Yii request handling.

  Sources   Download

MIT

The Requires