gerardojbaez / laraplans

SaaS style recurring plans for Laravel.
http://laraplans.readthedocs.io
MIT License
180 stars 81 forks source link

How do I create a 6 month plan? #27

Closed darkmat13r closed 6 years ago

gerardojbaez commented 6 years ago

$plan = Plan::create([
    'name' => 'Pro',
    'description' => 'Pro plan',
    'price' => 9.99,
    'interval' => 'month', // Months
    'interval_count' => 6, // Every 6 months
    'trial_period_days' => 15,
    'sort_order' => 1,
]);
darkmat13r commented 6 years ago

Hello,

Thank you :) Great work...

On Thu, Jan 18, 2018 at 11:35 PM, Gerardo Baez notifications@github.com wrote:

Closed #27 https://github.com/gerardojbaez/laraplans/issues/27.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gerardojbaez/laraplans/issues/27#event-1430958662, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah7HbyJPNrOr49HDLbCm64dAkJ5kpEMaks5tL4f7gaJpZM4RjJT9 .