03.12.2015 Views

laravel4cookbook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

E-Commerce 225<br />

1 "require" : {<br />

2 "dompdf/dompdf" : "dev-master"<br />

3 }<br />

.<br />

This was extracted from composer.json.<br />

.<br />

Obviously you’re going to have other dependencies in your composer.js file (especially when<br />

working on Laravel 4 projects), so just make it play nice with the other dependencies already in<br />

there.<br />

Stripe<br />

Stripe is a simple, developer-friendly way to accept payments online. We believe that<br />

enabling transactions on the web is a problem rooted in code, not finance, and we want<br />

to help put more websites in business.<br />

We’re going to look at accepting payments with Stripe. It’s superior to the complicated payment<br />

processes of other services, like PayPal.<br />

Installation is similar to DOMPDF:<br />

1 "require" : {<br />

2 "stripe/stripe-php" : "dev-master"<br />

3 }<br />

.<br />

This was extracted from composer.json.<br />

Faker<br />

Faker is a PHP library that generates fake data for you. Whether you need to bootstrap<br />

your database, create good-looking XML documents, fill-in your persistence to stress<br />

test it, or anonymize data taken from a production service, Faker is for you.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!