PHPackages                             lildude/phpzenfolio - 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. [API Development](/categories/api)
4. /
5. lildude/phpzenfolio

AbandonedArchivedLibrary[API Development](/categories/api)

lildude/phpzenfolio
===================

A simple object orientated wrapper for the Zenfolio API

2.0.1(8y ago)7925MITPHPPHP &gt;=5.6.0

Since Apr 14Pushed 1y ago4 watchersCompare

[ Source](https://github.com/lildude/phpZenfolio)[ Packagist](https://packagist.org/packages/lildude/phpzenfolio)[ Docs](http://phpzenfolio.com)[ RSS](/packages/lildude-phpzenfolio/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (4)Versions (4)Used By (0)

phpZenfolio
===========

[](#phpzenfolio)

[![Coverage Status](https://camo.githubusercontent.com/68e4faa3183a2246dfe7521b047e59531027c9704cacd74abeae48b182210b40/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c696c647564652f7068705a656e666f6c696f2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/lildude/phpZenfolio?branch=master) [![Test Status](https://github.com/lildude/phpZenfolio/workflows/Tests/badge.svg)](https://github.com/lildude/phpZenfolio/workflows/Tests/badge.svg)

Note

**This project is no longer maintained**

If you would like to take over maintenance, please get in touch and we can arrange a transfer of the repo.

phpZenfolio is a simple object orientated wrapper for the [Zenfolio API](http://www.zenfolio.com/zf/tools/api.aspx), written in PHP.

The intention of this class is to allow PHP application developers quick and easy interaction with the Zenfolio API, without having to worry about the finer details of the API.

Not already a Zenfolio user? Here, have a **$5 discount** off your first year on me by [registering](https://www.zenfolio.com/?refcode=4Y5-2ZY-2A8) using this code:

**[4Y5-2ZY-2A8](https://www.zenfolio.com/?refcode=4Y5-2ZY-2A8)**

The development of phpZenfolio takes place in my free time. If you find phpZenfolio useful and found it has saved you a lot of time, I'd really appreciate it if you bought me a coffee or two.

[![Buy me a Coffee](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/lildude)

---

**Note: phpZenfolio 2.0.0 and later is not backwardly compatible with earlier releases.**

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6.0,
- [Guzzle 6](https://github.com/guzzle/guzzle) library,
- (optional) [PHPUnit](https://phpunit.de/), [php-coveralls](https://github.com/php-coveralls/php-coveralls) and [php-cs-fixer](http://cs.sensiolabs.org/) to run tests.

Installation
------------

[](#installation)

The recommended method of installing phpZenfolio is using [Composer](http://getcomposer.org). If you have Composer installed, you can install phpZenfolio and all its dependencies from within your project directory:

```
$ composer require lildude/phpzenfolio

```

Alternatively, you can add the following to your project's `composer.json`:

```
{
    "require": {
        "lildude/phpzenfolio": "^2.0"
    }
}
```

.. and then run `composer update` from within your project directory.

If you don't have Composer installed, you can download it using:

```
$ curl -s http://getcomposer.org/installer | php

```

Basic Usage of the phpZenfolio Client
-------------------------------------

[](#basic-usage-of-the-phpzenfolio-client)

`phpZenfolio` follows the PSR-1, PSR-2 and PSR-4 conventions, which means you can easily use Composer's [autoloading](https://getcomposer.org/doc/01-basic-usage.md#autoloading) to integrate `phpZenfolio` into your projects.

```
