PHP, dumb with the database, laravel, how to change the id?

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!