Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Freshdesk Php Sdk Laravel Package

mpclarkson/freshdesk-php-sdk

PHP 5.5+ SDK for Freshdesk API v2. Simple, resource-based client: $api->tickets->all/create/update/view/delete, plus contacts, agents, companies, groups and more. Returns plain arrays. Composer install and easy Symfony/Laravel integration.

View on GitHub
Deep Wiki
Context7

Freshdesk\Resources\Ticket

Ticket resource

Provides access to ticket resources

Properties

$endpoint

protected string $endpoint = '/tickets'

The resource endpoint

  • Visibility: protected

Methods

restore

mixed|null Freshdesk\Resources\Ticket::restore($id)

Restore a ticket

Restores a previously deleted ticket

  • Visibility: public

Arguments

  • $id mixed

fields

mixed|null Freshdesk\Resources\Ticket::fields(array|null $query)

List ticket fields

The agent whose credentials (API key or username/password) are being used to make this API call should be authorised to view the ticket fields

  • Visibility: public

Arguments

  • $query array|null

conversations

mixed|null Freshdesk\Resources\Ticket::conversations(integer $id, array|null $query)

List conversations associated with a ticket

  • Visibility: public

Arguments

  • $id integer - <p>The ticket id</p>
  • $query array|null

timeEntries

mixed|null Freshdesk\Resources\Ticket::timeEntries(integer $id, array|null $query)

List time entries associated with a ticket

  • Visibility: public

Arguments

  • $id integer - <p>The ticket id</p>
  • $query array|null

all

mixed Freshdesk\Resources\Ticket::all(array|null $query)

Get a list of all agents.

Use filters ($query) to view only specific resources (those which match the criteria that you choose).

  • Visibility: public

Arguments

  • $query array|null

create

array|null Freshdesk\Resources\Ticket::create(array $data)

Create a resource

Create a resource with the supplied data

  • Visibility: public

Arguments

  • $data array - <p>The data</p>

view

array|null Freshdesk\Resources\Ticket::view(integer $id, array|null $query)

View a resource

Use 'include' to embed additional details in the response. Each include will consume an additional credit. For example if you embed the requester and company information you will be charged a total of 3 API credits for the call. See Freshdesk's documentation for details.

  • Visibility: public

Arguments

  • $id integer - <p>The resource id</p>
  • $query array|null

update

array|null Freshdesk\Resources\Ticket::update(integer $id, array $data)

Update a resource

Updates the resources for the given $id with the supplied data/.

  • Visibility: public

Arguments

  • $id integer - <p>The resource id</p>
  • $data array - <p>The data</p>

delete

array|null Freshdesk\Resources\Ticket::delete(\Freshdesk\Resources\Traits\in $id)

Delete a resource

Delete a resource by $id

  • Visibility: public

Arguments

  • $id Freshdesk\Resources\Traits\in - <p>The resource id</p>
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui