phpにあったルートを 全て消し、 Route: : resource( ' posts', ' PostsController' ) ; を追加. · I have a problem in my project, i just try to fix in many hours but it still not working. I' ve created a new middleware - here is my code: class. Laravel 5: Class Auth\ AuthController does not. but trying to add authentication is not working so far.