I am attempting my first workbench / package and so far no good.
Created 1 GroupsController added / tried both of these 4 routes in the Myname/Mypackage/src routes.php
Route::get('/groups', array( 'as' => 'groups.index', 'uses' => 'Myname\Mypackage\Controllers\GroupsController@index') );
Route::get('/groups', array( 'as' => 'groups.index', 'uses' => 'Myname\Mypackage\GroupsController@index') );
Route::resource('groups', 'Myname\Mypackage\GroupsController');
Route::resource('groups', 'Myname\Mypackage\Controllers\GroupsController');
And all I get is Myname\Mypackage\GroupsController not found;
ServiceProvider boot() has include DIR.'/../../routes.php';
If I echo "hello there'; die(); in boot that works so I know I am getting into the package, just does not want to let me access the controllers.
Help would be great.
Thanks,
Dave
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community