Skip to content

t4web/Pages

Repository files navigation

Pages

Master: Build Status codecov.io Scrutinizer Code Quality SensioLabsInsight Dependency Status

ZF2 Module for easily creating content pages and blocks

Introduction

Features / Goals

  • Create DB table with init console command [DONE]
  • Create page with WYSIWYG editor in admin [IN PROGRESS]
  • Get page by ID [IN PROGRESS]
  • Show page by route [IN PROGRESS]
  • List pages in admin (backend) zone [IN PROGRESS]
  • Edit page in admin (backend) zone [IN PROGRESS]
  • Remove page in admin (backend) zone [IN PROGRESS]

Installation

Usage

Testing

For running tests you need install and intialize codeception, after this create/update codeception.yml in you project root and add Pages tests, like this:

include:
    - vendor/t4web/pages  # <- add modules tests to include

paths:
    log: tests/_output

settings:
    colors: true
    memory_limit: 1024M

After this you may run functional tests from your project root

$ codeception run