echo "<br> Your Pass has been generated. Now sign the pass by using following <a href='https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/PassKit_PG/Chapters/Introduction.html'>link</a>";
}
// Create Generic pass
$obj4 = new ApplePass(GENERIC, "YOUR PASS IDENTIFIER", "YOUR TEAM IDENTIFIER", "Town Club", "Membership pass for Town Club", "Town Club", "rgb(56, 190, 110)", "rgb(22, 245, 105)");
$obj4->addBarCode("GE001RWM8A");
$obj4->genericPass_addHeaderInfo("ID", "040");
$obj4->genericPass_addMemberInfo("Name", "John");
$obj4->genericPass_addInfo("Member Since", "2009");
$obj4->genericPass_addInfo("LEVEL", "SILVER");
$obj4->genericPass_addInfo("Expiry", "June 2014");
$obj4->addIcon("/var/www/images/generic/icon.png");
$obj4->addIconHD("/var/www/images/generic/icon@2x.png");
$obj4->addLogo("/var/www/images/generic/logo.png");
$obj4->addLogoHD("/var/www/images/generic/logo@2x.png");
$obj4->addThumbnail("/var/www/images/generic/thumbnail.png");
$obj4->addThumbnail_hd("/var/www/images/generic/thumbnail@2x.png");
$obj4->addBackScreenInfo("Copyrights", "All rights reserved Town Club");
if ($obj4->generatePass("/var/www/passbook/test/", "GenericPass")) {
    echo "<br> Your Pass has been generated. Now sign the pass by using following <a href='https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/PassKit_PG/Chapters/Introduction.html'>link</a>";
}
// Create Store Card pass
$obj5 = new ApplePass(STORE_CARD, "YOUR PASS IDENTIFIER", "YOUR TEAM IDENTIFIER", "ABC Organization", "Store card for ABC Organization", "ABC Corp.", "rgb(112, 45, 22)", "rgb(22, 200, 15)");
$obj5->addBarCode("G3E1R0092A");
$obj5->storePass_addHeaderInfo("No", "AS34");
$obj5->storePass_addBalance("Balance", 19.45, "USD");
$obj5->storePass_addInfo("Deal of the Day", "Oranges");
$obj5->addIcon("/var/www/images/store/icon.png");
$obj5->addIconHD("/var/www/images/store/icon@2x.png");
$obj5->addLogo("/var/www/images/store/logo.png");
$obj5->addStrip("/var/www/images/store/strip.png");
$obj5->addStrip_hd("/var/www/images/store/strip@2x.png");