Skip to content

phwoolcon/phwoolcon

Repository files navigation

Phwoolcon

Latest Version on Packagist Build Status Code Coverage Scrutinizer Code Quality Gitter Supported PHP versions Supported Phalcon versions License

Phalcon + Swoole


中文 Readme
Why Do I Start Phwoolcon Project

The purpose of this library is to create a high performance
web application, which can run in traditional php-fpm mode and
service mode.

In service mode, you gain extreme speed for your application,
by reducing lot of unnecessary and repetitive computing.

If you have bugs in service mode, you can easily turn off the service
mode, you loose some speed (but still fast) to gain more stability,
fix your bugs and apply service mode again.

Usage

Installation

This is the Phwoolcon library, you may use Phwoolcon Bootstrap
to start a new project.

Or add this library to your project by composer:

composer require phwoolcon/phwoolcon

Code Style Checking

Please run the following script:

tests/phpcs

Any warnings or errors will be reported in file:

tests/root/storage/phpcs.txt

Testing

Please run the following script:

tests/phpunit

The code coverage report in HTML format will be generated in folder:

tests/root/storage/coverage/

To read the report, please open index.html in a web browser.

Configuration

See phwoolcon-package/config/

Templates

See phwoolcon-package/views/

Assets

See phwoolcon-package/assets/

Locale

See phwoolcon-package/locale/

Dependency Injection

See phwoolcon-package/di.php

Spirits

  • Aimed at performance
  • Aimed at scalability
  • Powerful features, with intuitive and readable codes
  • Component based, explicitly introduced
  • Configurable features
  • Code testability
  • Follow standard coding style (based on PSR-2)

Features

Base Components

  • Extended Phalcon Config (Both in native PHP file and DB)
  • Phalcon Cache
  • Extended Phalcon ORM
  • Error Codes
  • View: Theme based layouts and templates
  • Multiple DB connector
  • Events
  • Configurable Cookies
  • Session
  • Openssl based encryption/decryption
  • Multiple Queue producer and asynchronous CLI worker
  • Assets: Theme based, compilable JS/CSS management
  • Log
  • Lighten route dispatcher
  • Internalization
  • Finite state machine
  • Simple HTTP client
  • Swift Mailer
  • Symfony CLI console

Documents

PhpStorm