PHPCRM Setup
PHPCRM Features
- Lead Management System
- Customer Management
- Customer Follow up
- Appointment Management
- Files Management System
- Quote Management System
- Invoicing System
- Expense Management
- Inventory Management
- User Management System
- Work Management System
- Attendance Management System
- Customer Help Desk System
- Accounting Report System
- Tax Management System
- CRM Software Security
- Activity Management
- Email Marketing System
Lead Capture HTML Template
Lead generation forms make it easy for advertisers to collect leads across multiple website pages. With lead generation forms, you can gather data in your PHP CRM software from various websites.

PHP CRM 11 HTML Template
<style>
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 16px;
resize: vertical;
}
input[type=submit] {
background-color: #4CAF50;
color: white;
padding: 15px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
width:150px;
font-size:20px;
}
input[type=submit]:hover {
background-color: #45a049;
}
.container {
border-radius: 12px;
padding: 20px;
margin: auto;
width:300px;background-color:orange;
}
</style>
<div class=”container”>
<form action=”submit_phpcrm_form.php” >
<input type=”text” id=”fname” name=”name” placeholder=”Enter Full Name.” required>
<input type=”text” id=”email” name=”email” placeholder=”Enter Email Address.” required>
<input type=”text” id=”phone” name=”phone” placeholder=”Enter Phone Number.” >
<textarea name=”comment” id=”comment” placeholder=”Enter Your Message.” rows=”5″ required></textarea>
<center><input type=”submit” value=”Submit”></center>
</form>
</div>
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 16px;
resize: vertical;
}
input[type=submit] {
background-color: #4CAF50;
color: white;
padding: 15px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
width:150px;
font-size:20px;
}
input[type=submit]:hover {
background-color: #45a049;
}
.container {
border-radius: 12px;
padding: 20px;
margin: auto;
width:300px;background-color:orange;
}
</style>
<div class=”container”>
<form action=”submit_phpcrm_form.php” >
<input type=”text” id=”fname” name=”name” placeholder=”Enter Full Name.” required>
<input type=”text” id=”email” name=”email” placeholder=”Enter Email Address.” required>
<input type=”text” id=”phone” name=”phone” placeholder=”Enter Phone Number.” >
<textarea name=”comment” id=”comment” placeholder=”Enter Your Message.” rows=”5″ required></textarea>
<center><input type=”submit” value=”Submit”></center>
</form>
</div>
PHP CRM RestFull API Code
<?php
if(ISSET($_POST))
{
$name=$_POST[‘name’];
$phone=$_POST[‘phone’];
$email=$_POST[’email’];
$comment=$_POST[‘comment’];
}
else
{
echo “Thanks”;
exit();
}
$Token_Key=’#’; // Located in admin section under setup
$WebURL=’#’; // CRM Url like https://www.abc.com/crm-folder
//Lead Fields
$post_data=array(‘name’=>$name,’phone’=>$phone,’email’=>$email,’email’=>$email,’comment’=>$comment);
$PHPCRM = curl_init();
curl_setopt_array($PHPCRM, array(
CURLOPT_URL=>$WebURL.’/index.php/crm_api/leads/add_lead/’.$Token_Key,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => ”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => ‘POST’,
CURLOPT_POSTFIELDS => $post_data,
));$response = curl_exec($PHPCRM);
curl_close($PHPCRM);
header(“Location:submit_phpcrm_form.php”);
exit();
//echo $response;
?>
if(ISSET($_POST))
{
$name=$_POST[‘name’];
$phone=$_POST[‘phone’];
$email=$_POST[’email’];
$comment=$_POST[‘comment’];
}
else
{
echo “Thanks”;
exit();
}
$Token_Key=’#’; // Located in admin section under setup
$WebURL=’#’; // CRM Url like https://www.abc.com/crm-folder
//Lead Fields
$post_data=array(‘name’=>$name,’phone’=>$phone,’email’=>$email,’email’=>$email,’comment’=>$comment);
$PHPCRM = curl_init();
curl_setopt_array($PHPCRM, array(
CURLOPT_URL=>$WebURL.’/index.php/crm_api/leads/add_lead/’.$Token_Key,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => ”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => ‘POST’,
CURLOPT_POSTFIELDS => $post_data,
));$response = curl_exec($PHPCRM);
curl_close($PHPCRM);
header(“Location:submit_phpcrm_form.php”);
exit();
//echo $response;
?>
