承接 cakedc/cakephp-phppm 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cakedc/cakephp-phppm

最新稳定版本:2.0.0

Composer 安装命令:

composer require cakedc/cakephp-phppm

包简介

PHP PM bridge for CakePHP

README 文档

README

Alpha. Please use at your own risk. IMPORTANT: Cookies not working at this point, so no sessions or Csrf available

CakePHP Bridge to use with PHP-PM project (https://github.com/php-pm/php-pm).

Requirements

  • CakePHP ^5.0
  • PHP ^8.0
  • phpcgi installed
  • php_pcntl extension installed and enabled

Setup

  • Via composer, add to your composer.json

    "cakedc/cakephp-phppm": "dev-2.next-cake5"

Run

  • Execute the PM via command line

    • For MAX performance

    vendor/bin/ppm --bridge='\CakeDC\PHPPM\Bridges\Cakephp' start --debug 0 --workers 9 --logging 0 --static-directory webroot

    • For development

    vendor/bin/ppm --bridge='\CakeDC\PHPPM\Bridges\Cakephp' start --debug 1 --workers 1 --static-directory webroot

Testing it

Important notes

  • Cookies: they are not working properly now, so you won't have sessions OR Csrf properly working, if you are providing an API this is not something that should bother you too much anyway...
  • This plugin bootstraps your application once, so ensure your bootstrap is not dynamic, for example, no dynamic routes coming from database based on request params.

Support

Commercial support is also available, contact us for more information.

Contributing

This repository follows the CakeDC Plugin Standard. If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our Contribution Guidelines for detailed instructions.

License

Copyright 2018-2023 Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

统计信息

  • 总下载量: 1.32k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-15