loginwashere/php-closure 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

loginwashere/php-closure

最新稳定版本:0.0.1

Composer 安装命令:

composer require loginwashere/php-closure

包简介

Fork of php closure class for working with google closure compiler api

README 文档

README

Build Status

This is a fork of php-closure class for working with google closure compiler api that I found on Google Code

Documentation

Will be available on phpclosure.readthedocs.org

Installation

It is assumed that library will be used with composer, so installation steps are:

  1. Install composer
  2. Add resent wersion of library to composer.json of your project.
{
    "require": {
        "loginwashere/php-closure": "*"
    }
}
  1. run command php path/to/composer.phar install (or php path/to/composer.phar update - if you've already executed install)

Usage

$c = new PhpClosure();
$c->add("path/to/js/my-app.js") // File must exist and be readable
    ->add("path/to/js/popup.js") // File must exist and be readable
    ->advancedMode()
    ->useClosureLibrary()
    ->cacheDir("path/to/tmp/js-cache/") // Directory must exist and be writable
    ->write();

or

PhpClosure::create()
    ->add("path/to/js/my-app.js") // File must exist and be readable
    ->add("path/to/js/popup.js") // File must exist and be readable
    ->advancedMode()
    ->useClosureLibrary()
    ->cacheDir("path/to/tmp/js-cache/") // Directory must exist and be writable
    ->write();

For compiler options description go to official documentation

Todo

  • Add tests
  • Add file manipulation errors handling

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2013-02-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固