Skip to content

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

3 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PHP Library for the Google Closure Compiler

A PHP class for optimizing and serving JavaScript sources using Google's Closure Compiler web service. The sources will be compiled on demand and cached locally for performance.

Example usage:

include("libs/php-closure.php");

$c = new PhpClosure();
$c->add("my-app.js")
  ->add("popup.js")
  ->advancedMode()
  ->useClosureLibrary()
  ->cacheDir("/tmp/js-cache/")
  ->write();

This was put together pretty quickly for use on my website. Patches and improvements welcome!

Author

Dan Pupius (personal website).

License

Copyright 2010 Daniel Pupius. Apache License, Version 2.0.

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages