2017 © Pedro Peláez
 

library capella

Useful package for image uploading with capella.pics

image

codex-team/capella

Useful package for image uploading with capella.pics

  • Saturday, February 10, 2018
  • by codex-team
  • Repository
  • 23 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 33 % Grown

The README.md

PHP SDK for CodeX Capella

This repository provides PHP SDK for working with the Capella API, (*1)

Installation

$ composer require codex-team/capella

Or just clone this repository and include src/Capella.php to your bootstrap file., (*2)

Usage

First, read CodeX Capella documentation., (*3)

Uploading

use \Capella\Capella;

$image = Capella::upload('path-or-url-to-your-picture');

$url = $image->url();

More, (*4)

Get image by known id

use \Capella\Capella;

$image = Capella::image('abcdef-1234-abcd-1234');

More, (*5)

Working with filters

use \Capella\Capella;

$image = Capella::upload('picture.jpg');

$url = $image->resize(100)->url();
echo $url; // https://capella.pics/<id>/resize/100

$url = $image->crop(100, 200);
echo $url; // https://capella.pics/<id>/crop/100x200

More, (*6)

Docs

CodeX Capella documentation, (*7)

Full PHP SDK documentation, (*8)

Requirements

php >= 5.6
php-curl

Contribution

Ask a question or report a bug on the create issue page., (*9)

Know how to improve PHP SDK for Capella? Fork it and send pull request., (*10)

You can also write questions and suggestions to the CodeX Team’s email., (*11)

License

MIT, (*12)

Contacs

CodeX Team – ifmo.su, (*13)

The Versions

10/02 2018

dev-master

9999999-dev https://github.com/codex-team/capella.php#readme

Useful package for image uploading with capella.pics

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Georgy Berezhnoy

image uploader uploading filters codex capella

10/02 2018

v1.0.1

1.0.1.0 https://github.com/codex-team/capella.php#readme

Useful package for image uploading with capella.pics

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Georgy Berezhnoy

image uploader uploading filters codex capella

20/01 2018

v1.0.0

1.0.0.0 https://github.com/codex-team/capella.php#readme

Useful package for image uploading with capella.pics

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Georgy Berezhnoy

image uploader uploading filters codex capella