There is a basic authentication page support in CrudKit, which only provides you a nice user-interface for making a login page. You will have to verify the username and password yourself (against a database or any other means).
The key principle is to add the authentication code BEFORE you call $app->render ().
Building your own authentication from scratch
CrudKit’s designed in a way that makes adding your own authentication and security a breeze. To do this, simply make sure that the user is authenticated by checking the cooke or session at the beginning of the script, before creating the CrudKitApp object, or calilng render.
All AJAX requests pass through the same file, so your application will also be immune to people forging requests to the AJAX APIs, which is a security vulnerability for many applications
Built by Anirudh Sanjeev. CrudKit is distributed under the MIT/X11 License.