Skip to content

FatalErrorException when registering service provider on workbench package #15

Closed
@akuzemchak

Description

@akuzemchak

I ran through the workbench utility to create a new package (Foo\Bar), ran composer install, and registered the Foo\Bar\BarServiceProvider in my app.providers config array.

Upon loading the site up in a browser, I get the following error:

FatalErrorException: Error: Class 'Foo\Bar\BarServiceProvider' not found in /Users/aaron/Sites/laravel-4/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php line 123

I've re-read the docs and tried creating a few different packages, but get the same result each time. Also tried tracking down what could be the issue, but no luck. Am I missing a step, or is this a confirmed bug? I'm using MAMP Pro 2.1.1 and PHP 5.4.4.

Thanks for any help or input!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions