This is the code repo for the Scotch School course: Build a Monthly Subscription App with Laravel Cashier.
- Clone the repo:
git clone [email protected]:scotch-io/laravel-cashier-course
- Go into the repo:
cd laravel-cashier-course
- Install dependencies:
composer install
- Copy
.env.example
to.env
:cp .env.example .env
- Create a key:
php artisan key:generate
- Fill in
STRIPE_KEY
andSTRIPE_SECRET
in.env
- Start the app:
php artisan serve
- Visit the app: http://localhost:8000
We will need a payment processor. Create a Stripe account and get your API keys under Account Settings.