first of all... from where you are telling the browset that you have a post method? are you sure tha...
User::max('id') this is the easiest way... because last inserted ID will be the max always...
The Laravel portal for problem solving, knowledge sharing and community building.
The community