PHPackages                             codegreencreative/laravel-freshworks - 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. codegreencreative/laravel-freshworks

ActiveLibrary[API Development](/categories/api)

codegreencreative/laravel-freshworks
====================================

A Laravel wrapper for Freshworks API

v1.2.2(2y ago)518.4k↓50%6[1 issues](https://github.com/codegreencreative/laravel-freshworks/issues)MITPHPPHP &gt;=7.4

Since Mar 17Pushed 2y ago2 watchersCompare

[ Source](https://github.com/codegreencreative/laravel-freshworks)[ Packagist](https://packagist.org/packages/codegreencreative/laravel-freshworks)[ RSS](/packages/codegreencreative-laravel-freshworks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (7)Versions (10)Used By (0)

Laravel Freshworks CRM API Wrapper
==================================

[](#laravel-freshworks-crm-api-wrapper)

This Laravel package will allow you to connect to Freshworks CRM API using a Laravel like syntax.

See [Freshworks CRM API](https://developers.freshworks.com/crm/api) documentation for details on what can be done with their API.

Installation
------------

[](#installation)

```
composer require codegreencreative/laravel-freshworks
```

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

[](#configuration)

```
php artisan vendor:publish --tag="laravel-freshworks"
```

Environment
-----------

[](#environment)

Add your Freshworks API key and domain. Your domain will be the subdomain you chose when creating your account. `{subdomain}`.myfreshworks.com You can gey your app token by going to Admin Settings -&gt; CRM Code Library -&gt; PHP and copying the `app_token` value.

```
FRESHWORKS_API_KEY=
FRESHWORKS_APP_TOKEN=
FRESHWORKS_DOMAIN=

```

Examples
--------

[](#examples)

When an object is returned back from Freshworks, you have two options when returning that object. `->toObject()` or `->toArray()`

```
// Create a new contact=
\Freshworks::contacts()->create([
    'first_name' => 'Jane',
    'last_name' => 'Doe',
    'email' => 'jane@janedoe.com',
    'phone' => '555-555-5555'
]);

// Update an existing contact
\Freshworks::contacts()->update($contact_id, ['email' => 'jd@janedoe.com']);

// Get all views/filters for contacts
$views = \Freshworks::contacts()->filters()->toObject();

// List all contacts using a view
\Freshworks::contacts()->all($view_id)->toObject()

// Tracking
// Create a new contact
\Freshworks::track()->identify([
   'identifier' => 'john.doe@example.com', //Replace with unique identifier
   'First name' => 'Johnny', //Replace with first name of the user
   'Last name' => 'Doe', //Replace with last name of the user
   'Email' => 'john.doe@example.com', //Replace with email of the user
   'Alternate contact number' => '98765432', //Replace with custom field
   'company' => array(
      'Name' => 'Example.com', //Replace with company name
      'Website' => 'www.example.com' //Replace with website of company
   )
]));

// Track an event
\Freshworks::track()->event([
    'identifier' => 'john.doe@example.com',
    'name' => 'Test Event',
    'role' => 'admin'
]));

// Track a page view
\Freshworks::track()->pageview([
   'identifier' => 'john.doe@example.com',
   'url' => 'http://example.com/pricing'
]));
```

See [Freshworks CRM API](https://developers.freshworks.com/crm/api) documentation for details on what can be done with their API.

API endpoints added
-------------------

[](#api-endpoints-added)

- [Contacts](https://developers.freshworks.com/crm/api/#contacts)
- [Accounts](https://developers.freshworks.com/crm/api/#accounts)
- [Deals](https://developers.freshworks.com/crm/api/#deals)
- [Notes](https://developers.freshworks.com/crm/api/#notes)
- [Tasks](https://developers.freshworks.com/crm/api/#tasks)
- [Appointments](https://developers.freshworks.com/crm/api/#appointments)
- [Sales Activities](https://developers.freshworks.com/crm/api/#sales-activities)
- [Search](https://developers.freshworks.com/crm/api/#search)
- [Phone](https://developers.freshworks.com/crm/api/#phone)
- [Track](https://teamamplitude.myfreshworks.com/crm/sales/settings/integrations/freshsales-web/3)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~119 days

Recently: every ~138 days

Total

9

Last Release

930d ago

PHP version history (3 changes)v1.0.0PHP ^7.3

v1.0.1PHP &gt;=7.3

v1.2.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6f1e96bff18619cb3fd4904f9448dc59c681a8413fe3ff47e816506b99c7f0b?d=identicon)[codegreencreative](/maintainers/codegreencreative)

---

Top Contributors

[![upwebdesign](https://avatars.githubusercontent.com/u/1845130?v=4)](https://github.com/upwebdesign "upwebdesign (16 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (6 commits)")[![benjaminLedel](https://avatars.githubusercontent.com/u/10330132?v=4)](https://github.com/benjaminLedel "benjaminLedel (1 commits)")[![gavinservai](https://avatars.githubusercontent.com/u/6363022?v=4)](https://github.com/gavinservai "gavinservai (1 commits)")

---

Tags

apilaravelcrmfreshsalesfreshworks

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/codegreencreative-laravel-freshworks/health.svg)

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

###  Alternatives

[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[dotzero/laravel-amocrm

ServiceProvider и Facade для Laravel 5 предоставляющие интеграцию с API amoCRM

3229.2k](/packages/dotzero-laravel-amocrm)

PHPackages © 2026

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