承接 jogaram/react-bundle 相关项目开发

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

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

jogaram/react-bundle

最新稳定版本:1.1.3

Composer 安装命令:

composer require jogaram/react-bundle

包简介

ReactPHP Bundle for Symfony2

README 文档

README

Run Symfony apps under React-PHP.

This module adds three Symfony console commands to run a server with your APP.

No configuration is needed. Follow the Installation instructions and read Usage section to know how to start using ReactPHP with your Symfony APP.

Installation

Composer

To install the bundle through Composer, run the following command in console at your project base path:

php composer.phar require jogaram/react-bundle

Register bundle

Then register the new bundle in your AppKernel.

<?php
    
    // #app/AppKernel.php
    $bundles = array(
        ...
        new Jogaram\ReactPHPBundle\JogaramReactPHPBundle(),
        ...
    );
    

Usage

To start using ReactPHP with Symfony, open console, go to your project root path and execute the following command:

php app/console react:server:run --standalone

Available options

  • --port=1337 | -p 1337 Selects port to run server at. Defaults to 1337.
  • --standalone If passed, React server will serve static files directly. (Use this if you don`t have Apache or Nginx running in you local machine. Static file serving is not designed for production environments)
  • --cache If passed, class loader will be enabled.
  • --apc If passed, APC class loader will be enabled. This option requires --cache option.

Background server

This bundle comes with two more methods to run server in background. To start the server execute the following:

php app/console react:server:start --standalone

Note: If port is specified, also must be specified in stop server command.

To stop the server, run:

php app/console react:server:stop

统计信息

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

GitHub 信息

  • Stars: 23
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2015-03-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固