To make api resource controller which excludes create and edit actions

php artisan make:controller Api/TaskController --api

Related Posts