Did you set the correct namespace?
Feb 25, 2015
3
Level 9
Class Mybilling\Billing\StripeBilling does not exist
I am following the Stripe Billing tutorial and rather than call it Acme as Jeffrey did I called my folder Mybilling so the structure is
- App
-MyBilling
-BillingInterface.php
-StripeBilling.php
In composer I have
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php",
"app/helpers.php".
"app/Mybilling",
]
},
Then I run composer update but when I try and bind in my routes file
App::bind('Mybilling\Billing\BillingInterface', 'Mybilling\Billing\StripeBilling');
I get an error
Class Mybilling\Billing\StripeBilling does not exist.
Is there somewhere else it should be added?
Please or to participate in this conversation.