Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Creating a Subscription-Based Website with Laravel and Recurly, Part 2
Oct 01, 2013 @ 17:52:30

The SitePoint PHP blog has posted the second part of their series about making a subscription -based website with Laravel and Recurly (part one is here). Improving on the code from the previous part of the series, they create the interface with Recurly.

In the first part of this series we created the bare bones of a subscription-based website using Laravel. We also set the site up with roles, and granted a pending role to new users. We’re now at the point where we can perform basic registration, login, and logout. In this second part, we’ll integrate Recurly to set up our paid membership plans.

Using the Recurly javascript library and the PHP packages installed in the first part of the series, they show you how to set up the API and configure the script to connect with your account. They integrate this with the signup process and include the PHP (Laravel) code to handle the registration and the Javascript to make the Recurly call. There's also some code creating some of the management pages letting users update things like plan choice and billing information.

tagged: recurly payment recurring laravel tutorial subscription series part2

Link: http://www.sitepoint.com/creating-subscription-based-website-laravel-recurly-2/

Jakob Westhoff's Blog:
Periodic - A PHP based cron utility
Jan 30, 2009 @ 15:33:54

Jakob Westhoff has posted about a new scheduler utility that he an Kore Nordmann worked up to fill a need they had for a "recurring management system" for some of their projects.

Periodic is a fully unit tested PHP based task runner. It is supposed to deliver a basic implementation for managing all kinds of recurring tasks and events inside your web application. It has been designed with having all kinds of different web hosting environments in mind. It is capable of running on most shared hosting systems as well as root servers.

They even went so far as to write up a design document for the implementation. You can grab the latest version of the script off of their subversion server: svn://arbitracker.org/arbit/projects/periodic

tagged: periodic cron utility recurring task management cronjobiterator

Link:


Trending Topics: