PHPackages                             tigerheck/laravel-vcita - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. tigerheck/laravel-vcita

ActiveLibrary[API Development](/categories/api)

tigerheck/laravel-vcita
=======================

Laravel wrapper for vCita APIs

v1.0.17(2y ago)052MITPHPPHP ^8.0.2

Since Feb 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/tigerheck/laravel-vcita)[ Packagist](https://packagist.org/packages/tigerheck/laravel-vcita)[ RSS](/packages/tigerheck-laravel-vcita/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (18)Used By (0)

Laravel vCita Wrapper
=====================

[](#laravel-vcita-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3a0d0f3695f97e7887ca9027d886df1cb5aa5fa2afb74d55348ddfe6d50f9335/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696765726865636b2f6c61726176656c2d76636974612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tigerheck/laravel-vcita)[![Total Downloads](https://camo.githubusercontent.com/fa59c45d7f1eff7051c9e898fae002cec094a6e8c2c269c2a9fc3741d124daa7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696765726865636b2f6c61726176656c2d76636974612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tigerheck/laravel-vcita)

**A Laravel wrapper for vCita API.**

Install
-------

[](#install)

Via Composer

```
$ composer require tigerheck/laravel-vcita
```

Configuration
-------------

[](#configuration)

Laravel vCita requires connection configuration. To get started, you'll need to publish all vendor assets:

```
$ php artisan vendor:publish --provider="TigerHeck\Vcita\VcitaServiceProvider"
```

Add `VCITA_BASE_URL=` and `VCITA_API_KEY=` to your enviroment configuraiton file

Usage
-----

[](#usage)

See documention for params and others at [vCita docs](https://developers.vcita.com/reference)

Examples with \\Http::vcita()
-----------------------------

[](#examples-with-httpvcita)

Get clients

```
$response = \Http::vcita()->get("/platform/v1/clients", [
    'search_term' => $email,
    'search_by' => 'email',
]);

```

Create a Client

```
$response = \Http::vcita()->post("/platform/v1/clients", [
    'address'           => $address,
    'custom_field1'     => $custom_field1,
    'custom_field2'     => $custom_field2,
    'custom_field3'     => $custom_field3,
    'email'             => $email,
    'first_name'        => $first_name,
    'last_name'         => $last_name,
    'phone'             => $phone,
    'source_campaign'   => $source_campaign,
    'source_channel'    => $source_channel,
    'source_name'       => $source_name,
    'source_url'        => $source_url,
    'staff_id'          => $staff_id,
    'status'            => $status,
    'tags'              => $tags,
]);

```

Updates a Client

```
$response = \Http::vcita()->put("/platform/v1/clients/{$client_id}", [
    'address'           => $address,
    'custom_field1'     => $custom_field1,
    'custom_field2'     => $custom_field2,
    'custom_field3'     => $custom_field3,
    'email'             => $email,
    'first_name'        => $first_name,
    'last_name'         => $last_name,
    'phone'             => $phone,
    'source_campaign'   => $source_campaign,
    'source_channel'    => $source_channel,
    'source_name'       => $source_name,
    'source_url'        => $source_url,
    'staff_id'          => $staff_id,
    'status'            => $status,
    'tags'              => $tags,
]);

```

Deletes a Client by Id

```
$response = \Http::vcita()->delete("/platform/v1/clients/{$client_id}");

```

Retrieves a Client by Id

```
$response = \Http::vcita()->get("/platform/v1/clients/{$client_id}");

```

Examples with app("vcita")
--------------------------

[](#examples-with-appvcita)

Support client api with this method, provide support for rest of api later on.

Get clients

```
$response = app("vcita")->allClients([
    'search_term' => $email,
    'search_by' => 'email',
]);

```

Get clients (response with specific access point)

```
$response = app("vcita")->allClients([
    'search_term' => $email,
    'search_by' => 'email',
], 'data.clients');

```

Create a Client

```
$response = app("vcita")->createClient([
    'address'           => $address,
    'custom_field1'     => $custom_field1,
    'custom_field2'     => $custom_field2,
    'custom_field3'     => $custom_field3,
    'email'             => $email,
    'first_name'        => $first_name,
    'last_name'         => $last_name,
    'phone'             => $phone,
    'source_campaign'   => $source_campaign,
    'source_channel'    => $source_channel,
    'source_name'       => $source_name,
    'source_url'        => $source_url,
    'staff_id'          => $staff_id,
    'status'            => $status,
    'tags'              => $tags,
]);

```

Updates a Client

```
$response = app("vcita")->updateClient($client_id, [
    'address'           => $address,
    'custom_field1'     => $custom_field1,
    'custom_field2'     => $custom_field2,
    'custom_field3'     => $custom_field3,
    'email'             => $email,
    'first_name'        => $first_name,
    'last_name'         => $last_name,
    'phone'             => $phone,
    'source_campaign'   => $source_campaign,
    'source_channel'    => $source_channel,
    'source_name'       => $source_name,
    'source_url'        => $source_url,
    'staff_id'          => $staff_id,
    'status'            => $status,
    'tags'              => $tags,
]);

```

Deletes a Client by Id

```
$response = app("vcita")->deleteClient($client_id);

```

Retrieves a Client by Id

```
$response = app("vcita")->getClient($client_id);

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~33 days

Total

17

Last Release

920d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19799708?v=4)[chiraggoti2016](/maintainers/chiraggoti2016)[@chiraggoti2016](https://github.com/chiraggoti2016)

---

Top Contributors

[![chiraggoti2016](https://avatars.githubusercontent.com/u/19799708?v=4)](https://github.com/chiraggoti2016 "chiraggoti2016 (20 commits)")

---

Tags

laravelvcita

### Embed Badge

![Health badge](/badges/tigerheck-laravel-vcita/health.svg)

```
[![Health](https://phpackages.com/badges/tigerheck-laravel-vcita/health.svg)](https://phpackages.com/packages/tigerheck-laravel-vcita)
```

###  Alternatives

[rakibdevs/openweather-laravel-api

Laravel package to connect https://openweathermap.org/ to get customized weather data for any location on the globe immediately

7652.6k](/packages/rakibdevs-openweather-laravel-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
