Laravel project reject issue fixing

After submitting a Laravel project on “Envato Market” I Received some correction issues like.

  • Please make sure the code adheres to PSR standards.

  • Make sure that the code doesn’t raise any PHP errors, notices or warnings. Please set error_reporting(E_ALL)

  • Please double check for common security vulnerabilities: SQL injection, XSS, CSRF etc

  • Please make sure the item doesn’t contain any encrypted code or a third party licensing system-

But I have no idea how to fix the issues. I need help

How to check the code adheres to PSR standards or not? Any tool available?

what is the best way to fix the other issues?