Download the PHP package clystnet/vtiger without Composer

On this page you can find all versions of the php package clystnet/vtiger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package vtiger

ο»Ώ# This package is deprecated

Here at Clystnet We no longer maintain the Open Source version of this package. We do however maintain our in house version of this package which you talk to us about using by contacting [email protected].

Vtiger (Laravel 5 Package)

Use the Vtiger webservice (REST) API from within Laravel for the following operations.

See Third Party App Integration (REST APIs)

Installation, Configuration and Usage

Installing

  1. In order to install the Vtiger package in your Laravel project, just run the composer require command from your terminal:

    If you are using Laravel >= 5.5 you don’t need to do steps 2 and 3.

  2. Then in your config/app.php add the following to the providers array:

  3. In the same config/app.php add the following to the aliases array:

  4. Publish the configuration file:

Configuration

Because I've experienced problems getting the sessionid from the CRM when multiple users are accessing the CRM at the same time, the solution was to store the sessionid into a file within Laravel application. Instead of getting the token from the database for each request using the webservice API, a check is made against the expiry time in the file. If the expiry time has expired, a token is requested from the CRM and file is updated with the new token and updated expiry time.

Usage

In your controller include the Vtiger package

Create

To insert a record into the CRM, first create an array of data to insert. Don't forget the added the id of the assigned_user_id (i.e. '4x12') otherwise the insert will fail as assigned_user_id is a mandatory field.

To do the actual insert, pass the module name along with the json encoded array to the create function.

Retrieve

To retrieve a record from the CRM, you need the id of the record you want to find (i.e. '4x12').

Update

The easiest way to update a record in the CRM is to retrieve the record first.

Then update the object with updated data.

Delete

To delete a record from the CRM, you need the id of the record you want to delete (i.e. '4x12').

Lookup

This function uses the Vtiger Lookup API endpoint to search for a single piece of information within multiple columns of a Vtiger module. This function is often multitudes faster than the search function.

Search

This function is a sql query builder wrapped around the query function. Accepts instance of laravels QueryBuilder.

By default the function will quote but not escape your inputs, if you wish for your data to not be quoted, set the 3rd paramater to false like so:

Also keep in mind that Vtiger has several limitations on it's sql query capabilities. You can not use conditional grouping i.e "where (firstname = 'John' AND 'lastname = 'Doe') OR (firstname = 'Jane' AND lastname = 'Smith') will fail.

Query

To use the Query Operation, you first need to create a SQL query.

Then run the query...

Describe

To describe modules in the CRM run this with the module name

Contributing

Please report any issue you find in the issues page. Pull requests are more than welcome.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Ahmad Syamim

πŸ’»

Clyde Cox

πŸ’» πŸ“–

Christopher Pratt

πŸ’» πŸ“–

adam-godfrey

πŸ’» πŸ“–

This project follows the all-contributors specification. Contributions of any kind welcome!


All versions of vtiger with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
guzzlehttp/guzzle Version ~6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package clystnet/vtiger contains the following files

Loading the files please wait ....