If you want to add custom route to Resource collection just add before that route separately like this
Route::get('tasks/{filter}', 'TasksController@tasksFilter');
Route::resource('tasks', 'TasksController', ['except' => ['create', 'edit']])->middleware('WorkTextString');
Check this https://laravel.com/docs/5.5/controllers#resource-controllers available resource routes by default. If any custom route can be added before the resource route.