PHPackages                             awakenweb/beverage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. awakenweb/beverage

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

awakenweb/beverage
==================

PHP Task Runner

458PHP

Since Jan 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/awakenweb/beverage)[ Packagist](https://packagist.org/packages/awakenweb/beverage)[ RSS](/packages/awakenweb-beverage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

This package is not maintained anymore, a fun mini project keeped as archive only
=================================================================================

[](#this-package-is-not-maintained-anymore-a-fun-mini-project-keeped-as-archive-only)

Beverage
========

[](#beverage)

I know you love Grunt and Gulp when it comes to automate tedious tasks such as minifying CSS and JS, resizing images... Everybody does.

But are you allergic to NPM as I am?

Are you fed up with having to download nearly half the Internet when you just want to minify a bunch of files?

Beverage is there for you: pure PHP- and Composer-powered task runner for your projects.

As easy to use as Gulp, minus the NPM dependencies chaos. **If you know Gulp, you already master Beverage.**

Prerequisites
-------------

[](#prerequisites)

- PHP 5.4+
- [Composer](https://getcomposer.org/)

Install
-------

[](#install)

Add this to your composer.json file:

```
{
    "require": {
        "awakenweb/beverage": "dev-master"
    }
}
```

Modules
-------

[](#modules)

Have a look at the [Modules](MODULES.md) page

Configuration
-------------

[](#configuration)

First, create a `drinkmenu.php` file at the root of your project. You can create a boilerplate file by running the `vendor/bin/beverage beverage:init` command.

This file will contain the different tasks you will want to run.

This file must at least contain a `defaultTask()` function that will be triggered when calling the beverage command if no specific task is called.

Here is a demo `drinkmenu.php` :

```
