2017 © Pedro Peláez
 

yii2-extension yii2-order

image

tomaivanovtomov/yii2-order

  • Wednesday, April 25, 2018
  • by Toma
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

STILL IN DEVELOPMENT!!!!

Installation

composer require tomaivanovtomov/yii2-order "1.0.6"

Configuration

Add the Module class to config.php:, (*1)

'modules' => [
    ....
    'orders' => [
        'class' => 'tomaivanovtomov\order\Module',
    ],
    ....
],

Add migrations

Migrate tables, (*2)

php yii migrate/up --migrationPath=@vendor/tomaivanovtomov/yii2-order/migrations

Register assets

Register order assets on top of your layout\main.php, (*3)

\tomaivanovtomov\order\OrderAssets::register($this);

Image path is set to www.example.com/frontend/web ., (*4)

Usage

CRUDs and index action:, (*5)

orders/order/index
orders/currency/index
orders/payment-type/index
orders/status/index

Multilingual part

Copy these line in params.php:, (*6)

'language-information' => [
    'BG' => [
        'title' => 'Български',
        'extension' => 'bg',
    ],
    'EN' => [
        'title' => 'English',
        'extension' => 'en',
    ],
],
'languageDefault' => 'bg'

This portion of code is linked with the multilingual model functionality. You can override the model and adapt it to your needs., (*7)

The Versions

25/04 2018
25/04 2018

1.0.4

1.0.4.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Toma Tomov

25/04 2018

1.0.3

1.0.3.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Toma Tomov

25/04 2018
25/04 2018

1.0.1

1.0.1.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Toma Tomov

25/04 2018

1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Toma Tomov