# laravel-elixir-footer

> Laravel Elixir wrapper around footer Gulp task.

Latest version **0.2.0** (published 2015-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install laravel-elixir-footer
pnpm add laravel-elixir-footer
yarn add laravel-elixir-footer
bun add laravel-elixir-footer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-11-20 |
| First published | 2014-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nathan Macnamara |
| Maintainers | nathanmac |
| Keywords | gulp, laravel, elixir, footer |

## Links

- npm: https://www.npmjs.com/package/laravel-elixir-footer
- Repository: https://github.com/nathanmac/laravel-elixir-header
- Issues: https://github.com/nathanmac/laravel-elixir-header/issues
- npm.io page: https://npm.io/package/laravel-elixir-footer

## Dependencies (1)

- [gulp-footer](https://npm.io/package/gulp-footer.md) ^1.0.0

## Recent versions

- 0.2.0 (latest) — 2015-11-20
- 0.1.0 — 2014-11-02

## README

# laravel-elixir-footer

This is a simple footer banner wrapper around Laravel Elixir. Add it to your Elixir-enhanced Gulpfile, like so:

## Install

```
npm install --save-dev laravel-elixir-footer
```

## Usage

This will scan your `public` directory for all css/js files and add a given footer message to the files.

### Example *Gulpfile*:

```javascript
var elixir = require('laravel-elixir');

require('laravel-elixir-footer');

elixir(function(mix) {
   mix.footer('\n/** ABC Solutions - 2015 */\n');
});
```

#### Advanced example

In second argument you could pass data to be used in the banner.

```javascript
var pkg = require('./composer.json');
var banner = ['/**',
  ' * <%= pkg.name %> - <%= pkg.description %>',
  ' * @version v<%= pkg.version %>',
  ' * @link <%= pkg.homepage %>',
  ' * @license <%= pkg.license %>',
  ' */',
  ''].join('\n');

mix.footer(banner, { pkg : pkg });
```

For more examples please refer to the documentation for the [gulp-footer](https://www.npmjs.org/package/gulp-footer) package.

---
_Source: https://npm.io/package/laravel-elixir-footer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
