Browse Source

Added an hyphen in the package name

tags/v0.1.0
Cédric Belin 4 years ago
parent
commit
64a69840d6
4 changed files with 8 additions and 4 deletions
  1. +1
    -0
      .gitignore
  2. +6
    -3
      README.md
  3. +1
    -1
      package.json
  4. +0
    -0
      var/.gitkeep

+ 1
- 0
.gitignore View File

@@ -5,3 +5,4 @@
/doc/api/
/node_modules/
/npm-debug.log
/var/

+ 6
- 3
README.md View File

@@ -1,5 +1,5 @@
# PHP-Minify.gulp
![Release](http://img.shields.io/npm/v/gulp-phpminify.svg) ![License](http://img.shields.io/npm/l/gulp-phpminify.svg) ![Downloads](http://img.shields.io/npm/dm/gulp-phpminify.svg) ![Dependencies](http://img.shields.io/david/aquafadas-com/smartling.gulp.svg)
![Release](http://img.shields.io/npm/v/gulp-php-minify.svg) ![License](http://img.shields.io/npm/l/gulp-php-minify.svg) ![Downloads](http://img.shields.io/npm/dm/gulp-php-minify.svg) ![Dependencies](http://img.shields.io/david/aquafadas-com/smartling.gulp.svg)

[Gulp.js](http://gulpjs.com) plugin minifying [PHP](http://php.net) source code by removing comments and whitespace.

@@ -8,7 +8,7 @@ If you haven't used [Gulp.js](http://gulpjs.com) before, be sure to check out th
Once you're familiar with that process, you may install this plugin with this command:

```shell
$ npm install gulp-phpminify --save-dev
$ npm install gulp-php-minify --save-dev
```

Once the plugin has been installed, it may be enabled inside your `gulpfile.js`.
@@ -18,7 +18,7 @@ The plugin takes a list of PHP scripts as input, and removes the comments and wh

```javascript
const gulp = require('gulp');
const phpMinify = require('gulp-phpminify');
const phpMinify = require('gulp-php-minify');

gulp.task('minify:php', () => gulp.src('path/to/lib/**/*.php')
.pipe(phpMinify())
@@ -31,5 +31,8 @@ The plugin can be customized using these settings:

- `binary: String = "php"` : The path to the PHP executable. Defaults to the `php` binary found on the system path.

## See Also
- [API Reference](http://aquafadas-com.github.io/php-minify.gulp/api)

## License
[PHP-Minify.gulp](https://github.com/aquafadas-com/php-minify.gulp) is distributed under a proprietary license.

+ 1
- 1
package.json View File

@@ -1,7 +1,7 @@
{
"description": "Gulp.js plugin minifying PHP source code by removing comments and whitespace.",
"homepage": "https://github.com/aquafadas-com/php-minify.gulp",
"name": "gulp-phpminify",
"name": "gulp-php-minify",

"author": "Aquafadas <opensource@aquafadas.com>",
"bugs": "https://github.com/aquafadas-com/php-minify.gulp/issues",


+ 0
- 0
var/.gitkeep View File


Loading…
Cancel
Save