Is there any automatic SQL injection prevention PHP libraries. Something like, check the incoming parameters like GET,POST and check the possible SQL attack signatures before continue executing the site's codes.
Like example: http://www.example.com/index.php?page_id=')//UniON//aLL//SELECt//nULL,nULL,nULL,nULL,nULL,nULL,nULL,nULL,nULL,nULL--/**/uHkS
In above URL I have passed sql syntax in GET parameter, PHP libraries will check the GET, POST parameters before the project codes started executing and if any SQL attacks include, will exist the request immediately.Throw an exception message.