{"action":"created","issue":{"url":"https://api.github.com/repos/CodeSleeve/laravel-stapler/issues/60","labels_url":"https://api.github.com/repos/CodeSleeve/laravel-stapler/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/CodeSleeve/laravel-stapler/issues/60/comments","events_url":"https://api.github.com/repos/CodeSleeve/laravel-stapler/issues/60/events","html_url":"https://github.com/CodeSleeve/laravel-stapler/issues/60","id":60214986,"number":60,"title":"[L5] How could I use with Laravel 5? ","user":{"login":"ricardocanelas","id":663151,"avatar_url":"https://avatars.githubusercontent.com/u/663151?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardocanelas","html_url":"https://github.com/ricardocanelas","followers_url":"https://api.github.com/users/ricardocanelas/followers","following_url":"https://api.github.com/users/ricardocanelas/following{/other_user}","gists_url":"https://api.github.com/users/ricardocanelas/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardocanelas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardocanelas/subscriptions","organizations_url":"https://api.github.com/users/ricardocanelas/orgs","repos_url":"https://api.github.com/users/ricardocanelas/repos","events_url":"https://api.github.com/users/ricardocanelas/events{/privacy}","received_events_url":"https://api.github.com/users/ricardocanelas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-07T17:10:28Z","updated_at":"2015-05-03T21:04:46Z","closed_at":null,"body":"My composer:\r\n```php\r\n\t{\r\n\t\t..\r\n\t\t\"require\": {\r\n\t\t\t\"laravel/framework\": \"5.0.*\",\r\n\t        \"illuminate/html\": \"~5.0\",\r\n\t        \"codesleeve/laravel-stapler\": \"1.0.*\"\r\n\t\t},\r\n\t\t..\r\n\t}\r\n```\r\napp.php\r\n```php\r\n...\r\n    'Codesleeve\\LaravelStapler\\LaravelStaplerServiceProvider'\r\n...\r\n```\r\nPost.php\r\n```php\r\n<?php namespace App;\r\n\r\nuse Codesleeve\\Stapler\\ORM\\StaplerableInterface;\r\nuse Codesleeve\\Stapler\\ORM\\EloquentTrait;\r\nuse Illuminate\\Database\\Eloquent\\Model;\r\n\r\nclass Post extends Model implements StaplerableInterface\r\n{\r\n    use EloquentTrait;\r\n\r\n    protected $table = 'posts';\r\n\r\n    //..\r\n}\r\n```\r\n```\r\ncomposer dump-autoload\r\n```\r\nAnd.. \r\nOutput:\r\n```\r\nWhoops, looks like something went wrong.\r\n\r\n1/1\r\nBadMethodCallException in ServiceProvider.php line 226:\r\nCall to undefined method [package]\r\n\r\nin ServiceProvider.php line 226\r\nat ServiceProvider->__call('package', array('codesleeve/laravel-stapler', null, '/Users/Test/L5/example/vendor/codesleeve/laravel-stapler/src')) in LaravelStaplerServiceProvider.php line 25\r\nat LaravelStaplerServiceProvider->package('codesleeve/laravel-stapler', null, '/Users/Test/L5/example/vendor/codesleeve/laravel-stapler/src') in LaravelStaplerServiceProvider.php line 25\r\nat LaravelStaplerServiceProvider->boot()\r\nat call_user_func_array(array(object(LaravelStaplerServiceProvider), 'boot'), array()) in Container.php line 523\r\nat Container->call(array(object(LaravelStaplerServiceProvider), 'boot')) in Application.php line 672\r\nat Application->bootProvider(object(LaravelStaplerServiceProvider)) in Application.php line 654\r\nat Application->Illuminate\\Foundation\\{closure}(object(LaravelStaplerServiceProvider), '21')\r\nat array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(ControllerServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ValidationServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(BusServiceProvider), object(ConfigServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(SluggableServiceProvider), object(FlashServiceProvider), object(LaravelStaplerServiceProvider), object(BusServiceProvider)), object(Closure)) in Application.php line 655\r\nat Application->boot() in BootProviders.php line 15\r\nat BootProviders->bootstrap(object(Application)) in Application.php line 167\r\nat Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\DetectEnvironment', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\ConfigureLogging', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders')) in Kernel.php line 195\r\nat Kernel->bootstrap() in Kernel.php line 106\r\nat Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84\r\nat Kernel->handle(object(Request)) in index.php line 56\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/CodeSleeve/laravel-stapler/issues/comments/98544238","html_url":"https://github.com/CodeSleeve/laravel-stapler/issues/60#issuecomment-98544238","issue_url":"https://api.github.com/repos/CodeSleeve/laravel-stapler/issues/60","id":98544238,"user":{"login":"jonstavis","id":1569236,"avatar_url":"https://avatars.githubusercontent.com/u/1569236?v=3","gravatar_id":"","url":"https://api.github.com/users/jonstavis","html_url":"https://github.com/jonstavis","followers_url":"https://api.github.com/users/jonstavis/followers","following_url":"https://api.github.com/users/jonstavis/following{/other_user}","gists_url":"https://api.github.com/users/jonstavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jonstavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonstavis/subscriptions","organizations_url":"https://api.github.com/users/jonstavis/orgs","repos_url":"https://api.github.com/users/jonstavis/repos","events_url":"https://api.github.com/users/jonstavis/events{/privacy}","received_events_url":"https://api.github.com/users/jonstavis/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T21:04:46Z","updated_at":"2015-05-03T21:04:46Z","body":"Looks like this question was answered here:  https://github.com/CodeSleeve/laravel-stapler/issues/56  Note that it looks like you need to use dev-master as of this writing."}}