Giter Site home page Giter Site logo

yoshi88mx / vtiger-api-php Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 51 KB

A simple Vtiger API PHP wrapper , this project aims to simplify web-services implementation in PHP by making calls to this simple library. Tested and working on Vtiger versions 6.* & 7.*

License: GNU General Public License v2.0

PHP 100.00%

vtiger-api-php's Introduction

vTiger versions GitHub top language GitHub top language

Vtiger API PHP Wrapper (webservices) [PSR-4 🆗 ✅]

📂Structure

Vtiger-Webservices-curl/
├── controller/
│  └──VtApiClasses/
│     └──Operations/
│        ├──crm_crudoperation.php
│     └──Webservices/
│        ├──crm_auth.php
│        ├──crm_webservice.php
├── model/
│  constant.php
├── View/
│  ├──index.php
│  ├──create.php
│  ├──read.php
│  ├──update.php
│  ├──delete.php
├── .gitignore.swp
├── .README.md
├── .LICENSE.md


💾Installation

To run this project make sure that curl is installed and active in your php.ini You will Also need Composer to manage classes

▶️Usage

in the main dir of your project open composer and execute composer self-update

followed by composer dump-autoload -o

To use this project you must replace the variables in model/constant.inc with your CRM information

<?php
$url = 'http://example.com/vtigercrm/webservice.php';
$userName='[YOUR CRM USER HERE]';
$userAccessKey='[YOUR CRM USER ACCESS KEY HERE]';
?>

📜Examples

available in the view folder of this project.
  • 💪PRO tip -> to debug your code use the following code to toggle error messages display On/OFF
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
?>

vtiger-api-php's People

Contributors

kayoti avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.