Regarding the csrf issue, read the docs [ http://laravel.com/docs/5.0/routing#csrf-protection ]:
You do not need to manually verify the CSRF token on POST, PUT, or DELETE requests. The
VerifyCsrfTokenHTTP middleware will verify token in the request input matches the token stored in the session.
So when you are running your POST request from postman you should send your csrf_token alogn with your request. You'll need to manually generate it and manually add it in postman. One other option, NOT RECOMMENDED is to "disable" the middleware while in development:
// app/Http/Middleware/VerifyCsrfToken.php
public function handle($request, Closure $next)
{
if ( env('APP_ENV') === 'local') { // BAD APPROACH!!!
return $next($request);
}
return parent::handle($request, $next);
}
Regarding the migration error, it seems you have renamed a migration file (in the database/migrations folder, not in the database/seeds one) after running a previous migration.
Migration are stored in the database by filename, and the convention is to look for a class' name that matches the filename.
If this is the case and as you are refreshing, go into MySQL, drop your database, create it again and run:
php artisan migrate --seed