2017 © Pedro Peláez
 

library ausraster

A set of adapters for document manipulation.

image

hellofresh/ausraster

A set of adapters for document manipulation.

  • Friday, December 9, 2016
  • by italolelis
  • Repository
  • 81 Watchers
  • 7 Stars
  • 14,620 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 7 Versions
  • 11 % Grown

The README.md

, (*1)

Ausraster

Working with spreadsheets can make you (╯°□°)╯︵ ┻━┻. Ausraster puts a stop to that frustration, by providing a unified, sane interface over various document libraries., (*2)

┳━┳ ノ( ゜-゜ノ), (*3)

Features and Roadmap

  • [x] Excel adapter (provided by PHPExcel)
  • [x] Fully PSR-2 compliant
  • [x] Composer / PSR-4 compliant
  • [ ] Test coverage
  • [x] Cell formatting
  • [ ] CSV adapter
  • [ ] Other adapters to come! Need an adapter? Feel free to contribute!

Usage

Installation

$ composer require hellofresh/ausraster

Bring Your Own Adapter

By itself, Ausraster doesn't do much, as it needs another library to act as an interface to. For example, we can make use of Ausraster's Spreadsheet interfaces if we include PHPExcel:, (*4)

$ composer require phpoffice/phpexcel

No matter what spreadsheet adapter you use, Ausraster is designed to have the same simple, friendly interface., (*5)

require_once 'vendor/autoload.php';

use HelloFresh\Ausraster\Spreadsheet\Coordinate;
use HelloFresh\Ausraster\Spreadsheet\PhpExcel\Document;

$document = new Document;

$worksheet = $document->createWorksheet();

$coordinate = new Coordinate('A', 1);
$cell = $worksheet->getCellAt($coordinate);
$cell->fill('Ausraster rules!');

$document->save('example.xlsx');

To see more, check out the examples folder., (*6)

Contributing

Thinking of adding an adapter or fixing a bug? Thanks! Please see CONTRIBUTING.md before doing so to familiarise yourself with the review process, code of conduct, etc., (*7)

License

MIT License, (*8)

The Versions

09/12 2016

dev-master

9999999-dev https://github.com/hellofresh/ausraster

A set of adapters for document manipulation.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

csv excel spreadsheet xlsx office document

09/12 2016

v0.4

0.4.0.0 https://github.com/hellofresh/ausraster

A set of adapters for document manipulation.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

csv excel spreadsheet xlsx office document

27/07 2016

0.3.2

0.3.2.0 https://github.com/hellofresh/ausraster

A set of adapters for document manipulation.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

csv excel spreadsheet xlsx office document

27/07 2016

0.3.1

0.3.1.0 https://github.com/hellofresh/ausraster

A set of adapters for document manipulation.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

csv excel spreadsheet xlsx office document

27/07 2016

0.3.0

0.3.0.0 https://github.com/hellofresh/ausraster

A set of adapters for document manipulation.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

csv excel spreadsheet xlsx office document

21/06 2016

v0.2

0.2.0.0 https://github.com/hellofresh/ausraster

A set of adapters for document manipulation.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

csv excel spreadsheet xlsx office document

20/06 2016

v0.1

0.1.0.0 https://github.com/hellofresh/ausraster

A set of adapters for document manipulation.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kieran Patel

csv excel spreadsheet xlsx office document