This is simple tutorial on how you can login to pages which require CSRF token to be sent with credentials.
Steps:
1. Perform a simple request on Login.php
2. Parse the DOM and grab the CSRF-Token
3. Setup CURLOPT_COOKIEJAR for Saving Cookies and Session related Data
4. Perform POST request with required parameters and CSRF token