New Release: phpZenfolio 2.0.0

Wow!!! Look at that, a new release of phpZenfolio!!! :grin: phpZenfolio 2.0.0 is finally here.

So what’s new in phpZenfolio 2.0.0? I’m glad you asked.

For a start, it’s a complete rewrite. Rather than maintaining my own code to perform the HTTP requests, I’ve switched to using Guzzle. This allows me to concentrate on phpZenfolio and let someone else concentrate on the finer details of actually talking HTTP. It does however mean phpZenfolio 2.0.0 and later is not a drop in replacement for phpZenfolio 1.x.

This has a big advantage in now phpZenfolio can take advantage of Guzzle’s functionality without too much effort. Whilst phpZenfolio still doesn’t have support for asynchronous requests, it shouldn’t be too hard to implement it in future as Guzzle already has this functionality - PRs welcome :wink:. This use of Guzzle also means we can extend phpZenfolio with relative ease.

phpZenfolio is now installed using the industry standard method of using Composer. This makes it easier to integrate phpZenfolio with your projects and pull in all of the dependencies.

Some other changes include the publication of the test suite. I used to have a test suite before, but due to the embedding of credentials, it was kept private. The switch to Guzzle means I can use Mock objects to test phpZenfolio without revealing any credentials.

A few lesser changes and improvements:

  • phpZenfolio now uses semantic versioning.
  • phpZenfolio is now licensed under the MIT license.
  • Unit tests are run with every push to the GitHub repository.
  • PSR-1, PSR-2, and PSR-4 coding standards are implemented and enforced by unit testing.

Other than that, phpZenfolio is pretty much the same as it was before.

So what’s on the cards for phpZenfolio in future?

I’d also like to introduce asynchronous uploads for a start, and then maybe extend that to all requests. If you’d like to help out, please feel free to do so. Check the About page or the for more details on how you can help.

If you have any questions or hit any problems, please open an issue and I’ll do my best to help you out as soon as I can.

So what are you waiting for? Go download phpZenfolio 2.0.0 NOW!!

New Release: phpZenfolio 1.3

See, I told you phpZenfolio wasn’t dead. It’s just been a little quiet around here as the API itself hasn’t changes and things have ticked along quite nicely… until now.

Zenfolio has deprecated the 1.6 API and people using phpZenfolio are starting to notice, hence time for a new release.

This release is just a minor convenience release which:

  • changes the default API version to 1.8 and makes sure the rest of the library takes this API version into account.
  • changes the README to use Markdown instead of plaintext.

As usual, you can grab phpZenfolio 1.3 from the download page.

On a side note, I’ve got a complete rewrite in the works, so watch this space.

phpZenfolio Now Powered by GitHub Pages

It’s been a long time coming, but as part of migrating all of my hosting to Digital Ocean, I’ve decided to move the hosting of onto GitHub Pages. This moves the entire site closer to the source code and keeps everything in one place.

Unfortunately, it does mean I’ve had to remove the Examples page which you could have used for testing. Fear not though, the examples are still included in the source code.

#phpZenfolio on Twitter

Need a quick bit of help, have a quick question, want to show off your app using phpZenfolio or just want to say thanks for phpZenfolio? Please feel free to do so on Twitter using the #phpZenfolio hash tag. There’s a button on the sidebar too to help you :smile:

Provided I’m not on holiday, I’ll normally respond, if necessary within a couple of hours of your tweet - normally minutes if during UK business hours :smile:

New Release: phpZenfolio 1.2

And just when you thought phpZenfolio was dead, I go an release a new version.

Thankfully Zenfolio seems to be keeping their API quite stable so very few changes are required in phpZenfolio. That said, I have made this point release just to provide you with the following changes:

  • Changed API endpoint to use as requested by Zenfolio
  • Changed default API version to 1.6
  • Added ability to perform ALL API requests over HTTPS (Ticket 4)

phpZenfolio 1.2 is now available on the download page.

phpZenfolio Now on GitHub

Well, finally the day has come for me to put the phpZenfolio source code onto a public repository.

I’ve just spent the morning converting my internal Mercurial repo to a Git repo and uploading to GitHub. In the coming days I’ll manually transfer all the bugs logged to GitHub and then the Current Issues page will pull in the bugs from the issues on GitHub.

So with phpZenfolio out on GitHub, please feel free to log issues on GitHub or fork the code and submit your changes via pull requests.

New Release: phpZenfolio 1.1

You’ll be pleased to know phpZenfolio is not dead. It’s alive and well and now has a new release.

I’ve just pushed out rev 1.1 which addresses the following issues:

Use md5 to generate a uniq ID for each request instead of using intval() to ensure correct and consistent behaviour on 32-bit and 64-bit platforms. (Ticket #1) Removed erroneous re-instantiation of processor when setting adapter. Corrected check for safe_dir OR open_basedir so fails over to socket connection correctly (Ticket #2) Cache only successful requests Improved connection settings Thanks to Jörg Ehrsam for finding and working with me to resolve the two tickets.

phpZenfolio 1.1 is now available on the download page.

If you spot any issues, let me know. Oh and don’t forget to drop me a line if you have a product that uses phpZenfolio that could do with a bit of free advertising.

phpZenfolio 1.0

phpZenfolio 1.0 is now available for download.

This is the very first release so there may be a few rough edges. That said, I have conducted a fair amount of testing on the code with near 100% code coverage in my unit tests and I don’t believe there are any problems as it stands.

So head on over to the download page, get downloading and start tinkering and building your own applications.

The download comes with 3 easy to follow examples to help get in on your way along with an extensive README which is identical to the Documentation page.

Oh and if you want some free advertising, drop me a line and I’ll add a link and brief description to the sidebar of this site so others can see too.

If you encounter an problems or have queries, please feel free to ask.