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/

SitePoint PHP Blog:
Creating a Subscription-Based Website with Laravel and Recurly, Part 1
Sep 26, 2013 @ 17:18:24

On the SitePoint PHP blog there's a post by Lukas White (part one of a series) showing you how to make a subscription-based website with Laravel and Recurely. Recurly is a subscription billing service that takes case of the recurring billing process.

In this two-part series I’ll show you step-by-step how to create a paid subscription-based membership website using Laravel, a PHP5-based framework, and the Recurly payment processing service. First we’ll start by creating a simple site with basic registration, authentication, and user roles and permissions. Then we’ll add payment processing and tie it into the registration process, allowing people to purchase different membership tiers.

He walks you through the full process (well, the first part of it at least) to getting a new Laravel project up and going and a few other libraries you'll need to connect to the Recurly service. He creates a simple user table and roles/permissions functionality for the Authority connections. He also shows how to make the basic template, login mechanism and user registration system.

tagged: laravel recurly tutorial subscription part1 series

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


Trending Topics: