PHPackages                             m1guelpf/laraccess-api - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. m1guelpf/laraccess-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

m1guelpf/laraccess-api
======================

PHP Client for the Laraccess API

v1.0(9y ago)111MPL-2.0PHPPHP ^5.5|^7.0

Since May 11Pushed 9y agoCompare

[ Source](https://github.com/laraccess/laraccess-api)[ Packagist](https://packagist.org/packages/m1guelpf/laraccess-api)[ Docs](https://github.com/m1guelpf/laraccess-api)[ RSS](/packages/m1guelpf-laraccess-api/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Laraccess API Client
====================

[](#laraccess-api-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9d355d1da738348db36a7292013962f7e4e36f1f644ee5fb9ed7c7912658b83d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d316775656c70662f6c61726163636573732d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/laraccess-api)[![Software License](https://camo.githubusercontent.com/08c7c5e100d71fecfaa61e1eda1ee7bf9cd4fc4e5f09c2fd26f5c46574fa0219/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d316775656c70662f6c61726163636573732d6170692e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d048fb6bb40f27c315bad52949a5235a6d4bcb4dc21511ac9c8e6ba959aa1f08/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d316775656c70662f6c61726163636573732d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/m1guelpf/laraccess-api)[![Total Downloads](https://camo.githubusercontent.com/af00ce9694ebfdb78e019e3f2184e7fa61957805bf0e4632e26a25008d123806/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d316775656c70662f6c61726163636573732d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/laraccess-api)

This package makes it easy to interact with [Laraccess](https://github.com/m1guelpf/laraccess).

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

[](#installation)

You can install the package via composer:

```
composer require m1guelpf/laraccess-api
```

Usage
-----

[](#usage)

You must pass a the API token to the constructor of `M1guelpf\LaraccessApi\Laraccess`.

```
$laraccess = new \M1guelpf\LaraccessApi\Laraccess('YOUR_LARACCESS_API_TOKEN');
```

or you can skip the token and use the `connect()` method later

```
$laraccess = new \M1guelpf\LaraccessApi\Laraccess();

$laraccess->connect('YOUR_LARACCESS_API_TOKEN');
```

### Get User info

[](#get-user-info)

```
$laraccess->getUser();
```

### Create User

[](#create-user)

```
$laraccess->createUser($user);
```

### Edit User

[](#edit-user)

```
$laraccess->editUser($user);
```

### Delete User

[](#delete-user)

```
$laraccess->deleteUser();
```

### Get User Campaigns

[](#get-user-campaigns)

```
$laraccess->getUserCampaigns();
```

### Get Campaign

[](#get-campaign)

```
$laraccess->getCampaign($id);
```

### Create Campaign

[](#create-campaign)

```
$laraccess->createCampaign($campaign);
```

### Edit Campaign

[](#edit-campaign)

```
$laraccess->editCampaign($id, $campaign);
```

### Delete Campaign

[](#delete-campaign)

```
$laraccess->deleteCampaign($id);
```

### Get Campaign Leads

[](#get-campaign-leads)

```
$laraccess->getCampaignLeads($id);
```

### Get Lead

[](#get-lead)

```
$laraccess->getLead($id);
```

### Create Lead

[](#create-lead)

```
$laraccess->createLead($id, $lead);
```

### Edit Lead

[](#edit-lead)

```
$laraccess->editLead($id, $lead);
```

### Delete Lead

[](#delete-lead)

```
$laraccess->deleteLead($id, $lead);
```

### Invite Lead

[](#invite-lead)

```
$laraccess->inviteLead($id);
```

### Renenerate Token

[](#renenerate-token)

```
$laraccess->regenerateToken($set);
```

where `$set` is false if you don't want to use the new token on future requests.

### Get the Guzzle Client

[](#get-the-guzzle-client)

```
$laraccess->getClient();
```

### Set the Guzzle Client

[](#set-the-guzzle-client)

```
$client = new \GuzzleHttp\Client(); // Example Guzzle client
$laraccess->setClient($client);
```

where $client is an instance of `\GuzzleHttp\Client`.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Miguel Piedrafita](https://github.com/m1guelpf)
- [All Contributors](../../contributors)

License
-------

[](#license)

The Mozilla Public License 2.0 (MPL-2.0). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3288d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23558090?v=4)[Miguel Piedrafita](/maintainers/m1guelpf)[@m1guelpf](https://github.com/m1guelpf)

---

Top Contributors

[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (3 commits)")

---

Tags

apiclientguzzlelaraccesslaraccess-apim1guelpflaraccesslaraccess-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/m1guelpf-laraccess-api/health.svg)

```
[![Health](https://phpackages.com/badges/m1guelpf-laraccess-api/health.svg)](https://phpackages.com/packages/m1guelpf-laraccess-api)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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