izisoft/yii2-image

Yii2 extention

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.1-beta 2020-10-16 07:56 UTC

This package is auto-updated.

Last update: 2024-12-23 19:29:41 UTC


README

Get & set Module, Controller, Action from DB (slugs table).

  1. Frontend
  • Option 1: example.com/slug-url => example.com/controller/action
  • Option 2: example.com/controller/action (origin router)
  1. Module (backend | api | ...)
  • Option 1: example.com/slug-url => example.com/module/controller/action
  • Option 2: example.com/module/slug-url => example.com/module/controller/action
  • Option 3: example.com/module/controller/action (origin router)
  • Option 4: example.com/module/version/controller/action (api module)

Slug table struct

  • url: varchar
  • router: varchar
  • add more everithing if you want (ex: controller, action, module,...)

---- continue ----