This package is abandoned and no longer maintained. No replacement package was suggested.

Generates ASE swatch files for use with Adobe products.

2.1 2013-05-31 02:35 UTC

This package is not auto-updated.

Last update: 2018-05-08 10:33:01 UTC


Programmatically generates Adobe .ase files for use with the Adobe suite of applications.


The following software is required for to run:


use Ase\Color\Hex;
use Ase\Generator;
use Ase\Palette\Palette;

$ase = new Generator(array(
	new Palette('I got the blues', array(
		new Hex('One',   '0033ff'),
		new Hex('Two',   '#03c'),
		new Hex('Three', '#0066cc'),

file_put_contents('palette.ase', $ase->makePalette());


Depending on your needs, there are a few different ways you can install Adobe Swatch Exchange Generator:

Bundle with Composer

To add Adobe Swatch Exchange Generator as a Composer dependency in your composer.json file:

	"require": {
		"skyzyx/adobe-swatch-encoder": ">=1.0"

Install source from GitHub

To install the source code for Adobe Swatch Exchange Generator:

git clone git://
cd adobe-swatch-encoder
wget --quiet
php composer.phar install -o

Install source from zip/tarball

Alternatively, you can fetch a tarball or zipball:

curl | tar xzv
wget -O - | tar xzv

Using a Class Loader

If you're using a class loader (e.g., Symfony Class Loader) for PSR-0-style class loading:

$loader->registerNamespace('Ase', 'path/to/vendor/Ase/src');


To view the list of existing contributors, run the following command from the Terminal:

git shortlog -sne --no-merges


Here's the process for contributing:

  1. Fork Adobe Swatch Exchange Generator to your GitHub account.
  2. Clone your GitHub copy of the repository into your local workspace.
  3. Write code, fix bugs, and add tests with 100% code coverage.
  4. Commit your changes to your local workspace and push them up to your GitHub copy.
  5. You submit a GitHub pull request with a description of what the change is.
  6. The contribution is reviewed. Maybe there will be some banter back-and-forth in the comments.
  7. If all goes well, your pull request will be accepted and your changes are merged in.
  8. You will become "Internet famous" with anybody who runs git shortlog from the Terminal. :)

Authors, Copyright & Licensing

See also the list of contributors who participated in this project.

Licensed for use under the terms of the MIT license.