2017 © Pedro PelΓ‘ez
 

yii2-extension yii2-staffer

CRUD for a firm staffers

image

pistol88/yii2-staffer

CRUD for a firm staffers

  • Tuesday, August 1, 2017
  • by pistol88
  • Repository
  • 4 Watchers
  • 1 Stars
  • 173 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2-staffer

Π‘ΠΏΡ€Π°Π²ΠΎΡ‡Π½ΠΈΠΊ сотрудников (Ρ‚ΠΎΠ»ΡŒΠΊΠΎ Π±Π΅ΠΊΠ΅Π½Π΄)., (*1)

Π’ состав Π²Ρ…ΠΎΠ΄ΠΈΡ‚ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒ ΡƒΠΏΡ€Π°Π²Π»ΡΡ‚ΡŒ (CRUD):, (*2)

  • Π‘ΠΎΡ‚Ρ€ΡƒΠ΄Π½ΠΈΠΊΠΈ (имя, Ρ„ΠΎΡ‚ΠΎ, статус)
  • ΠšΠ°Ρ‚Π΅Π³ΠΎΡ€ΠΈΠΈ сотрудников

Установка

Π’Ρ‹ΠΏΠΎΠ»Π½ΠΈΡ‚ΡŒ ΠΊΠΎΠΌΠ°Π½Π΄Ρƒ, (*3)

php composer require pistol88/yii2-staffer "*"

Или Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ Π² composer.json, (*4)

"pistol88/yii2-staffer": "*",

И Π²Ρ‹ΠΏΠΎΠ»Π½ΠΈΡ‚ΡŒ, (*5)

php composer update

Π”Π°Π»Π΅Π΅, ΠΌΠΈΠ³Ρ€ΠΈΡ€ΡƒΠ΅ΠΌ Π±Π°Π·Ρƒ:, (*6)

php yii migrate --migrationPath=vendor/pistol88/yii2-staffer/migrations

НС Π·Π°Π±Ρ‹Π²Π°Π΅ΠΌ Π²Ρ‹ΠΏΠΎΠ»Π½ΠΈΡ‚ΡŒ ΠΌΠΈΠ³Ρ€Π°Ρ†ΠΈΡŽ ΠΌΠΎΠ΄ΡƒΠ»ΡƒΠΉ, ΠΎΡ‚ ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Ρ… зависит staffer, (*7)

Настройка

Π’ ΡΠ΅ΠΊΡ†ΠΈΡŽ modules ΠΊΠΎΠ½Ρ„ΠΈΠ³Π° Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ:, (*8)

    'modules' => [
        //..
        'staffer' => [
            'class' => 'pistol88\staffer\Module',
            'adminRoles' => ['administrator'],
        ],
        //..
    ]

Π’ ΡΠ΅ΠΊΡ†ΠΈΡŽ components:, (*9)

        'staffer' => [
            'class' => 'pistol88\staffer\Staffer',
        ],

ИспользованиС

  • ?r=staffer/staffer/index - сотрудники
  • ?r=staffer/category/index - ΠΊΠ°Ρ‚Π΅Π³ΠΎΡ€ΠΈΠΈ

Π’ΠΈΠ΄ΠΆΠ΅Ρ‚Ρ‹

Π’ΠΈΠ΄ΠΆΠ΅Ρ‚Ρ‹ Π² Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ΅., (*10)

The Versions

01/08 2017
01/08 2017

dev-AlChilyakov-patch-1

dev-AlChilyakov-patch-1 https://github.com/pistol88/yii2-staffer

CRUD for a firm staffers

  Sources   Download

BSD-3-Clause

The Requires

 

by Ilya Pistol

yii2 crud module yii 2 backend application pistol88 staffer