Stripe Bundle for Laravel
I’ve been learning the ins and outs of Laravel for a little over a week. Last night I decided I should create a quick bundle. I created a simple API bundle for Stripe because I will need it for a future project and Stripe is amazing. The bundle was super easy to create maybe two lines of code. But beauty is in Laravel’s bundle manager. It makes bundles very easy to install in your project.
Check out the Laravel Bundle page here or go right to the source on GitHub here.
Hi Patrick, I haven’t tried Stripe yet but I’ve been using your Bootstrapper bundle on Laravel – it’s fantastic and it’s saved me so much time. I’ve been utilising the Dropdown button system to create nicer looking form dropdowns. I was wondering whether it is possible to amend the dropdown system so that you can apply an ID to each of the tags. Thanks for all your hard work.
The first param ($name) with the select function should be what is used as the ID. You can also pass id in with the option attributes array if you want a different name and id.
Form::select(‘select01’, array(‘1’, ‘2’, ‘3’, ‘4’, ‘5’), null, array(‘id’ => ‘selectme’))
It was actually the DropdownButton I was using rather than the Select. I preferred the look of the DropdownButton so used it as a Select style form object.
So where you have the dropdown “a link” I’d like to create a “” so that I can bind it (or it’s parent id->get child id) to jQuery’s click function.
Bit odd I know but it works really nicely for what I’m doing.
thanks
(sorry, those html elements didn’t work. Meant to say (hope this works…)
“[li][a href=’somelink’]text here[/a][/li]” I’d like to create a “[li id=’something’][a href=’somelink’]text here[/a][/li]”