承接 anandpilania/php-reloadr 相关项目开发

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

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

anandpilania/php-reloadr

Composer 安装命令:

composer require anandpilania/php-reloadr

包简介

Live reload

README 文档

README

# PHP-Reloadr - Live reload PHP app while developing.

## Using

  $reloadr = new Reloadr(array(
              'root_path' => __DIR__, 
              'route' => 'domain.tld/reloadr',
              'dirs' => array(
                'public',
                'views',
                'config'
                ),
              'files' => array(
                'lang/en.php'
                ),
              'filter' => array(
                'accept' => array(
                  'css',
                  'js',
                  'html',
                  'php'
                  )
                )
              ));
  
  echo/return $reloader->init(); // returns js script. `echo` it into template OR from your `controller` [with `javascript` header]
  
  echo/return $reloadr->ajax(); // call it into the `route` controller

### Config

  'jq' => false, // set TRUE if jQuery is not added
  'freq' => 5000, // freq of AJAX call
  'root_path' => null, // root path/realpath
  'route' => '/reloadr', // route for ajax call
  'dirs' => array(), // recuresively check all files for reload
  'files' => array(), // files
  'filter' => array(
    'except' => null, // all files, except these array()
    'accept' => 'php','htm','css','js' // accept only
    ),
  'set_header' => true // set `application/javascript` and `application/json` header to ajax route 
  
  

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固