- api.php: It is the main file to include at each api call.
- class_info.php: Handling Get & POST requests from frontend. Returning data from database or errors to frontend
- send_mail.php: Using PHPMailer functionality to send email notifications.
- /lib
- Below files are imported in api.php file to handle user and database connection details.
- db.php: Database connection class
- ldap.php: handles ldap informations
- user_auth.php: provides simple user auth class
- /other_files
- These files are not related to APIs. These are independent files performing different functionalities.
- copyData.php: Copy data from one server location to another function location.
- dataFromOtherSystem.php: Connect with third party system using curl.
- spreadsheet.php: Generating xlsx format file using php.
mansi195/php-codes
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|