PHPackages                             nlocascio/mindbody-laravel - 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. nlocascio/mindbody-laravel

AbandonedArchivedLibrary[API Development](/categories/api)

nlocascio/mindbody-laravel
==========================

Laravel wrapper for MINDBODY API

v0.3.7(8y ago)516.7k↓100%4[1 issues](https://github.com/nlocascio/mindbody-laravel/issues)[1 PRs](https://github.com/nlocascio/mindbody-laravel/pulls)MITPHPPHP ^7.0

Since Nov 18Pushed 6y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (4)Versions (16)Used By (0)

Laravel MINDBODY
================

[](#laravel-mindbody)

Access the MINDBODY API from your Laravel application.

[![Latest Stable Version](https://camo.githubusercontent.com/a286f34d7496aac25936b2af9d409d142c6238bbc452a5889e91b4125d11a34f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6e6c6f63617363696f2f6d696e64626f64792d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nlocascio/mindbody-laravel)[![Packagist Downloads](https://camo.githubusercontent.com/32f98303e17be8438f846a5c72139fba9ee45cef2166aab9bc126c17407336f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6c6f63617363696f2f6d696e64626f64792d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nlocascio/mindbody-laravel)[![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)[![Build Status](https://camo.githubusercontent.com/8882ec6a7ae54c8c304895af9d2f9f716f814fdbebcf470b005c1e5444f36f0d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6c6f63617363696f2f6d696e64626f64792d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nlocascio/mindbody-laravel)

Requirements
------------

[](#requirements)

This package requires:

- PHP **7.0**+
- Laravel **5.1**+

You will also need the following credentials to access the MINDBODY API:

- **SourceCredentials** consisting of your **SourceName** and **Password**
- **Site ID** (or multiple Site IDs) corresponding to the MINDBODY site(s) you are connecting to

For API credentials and documentation, visit the [MINDBODY Developers site](https://developers.mindbodyonline.com/).

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

[](#installation)

Install the package through Composer:

```
composer require nlocascio/mindbody-laravel

```

#### Registering the Service Provider

[](#registering-the-service-provider)

Append the service provider to the `providers` key in `config/app.php`:

```
Nlocascio\Mindbody\MindbodyServiceProvider::class
```

#### Configuring API Credentials

[](#configuring-api-credentials)

Configure your API credentials by defining the following environment variables in `.env`:

```
MINDBODY_SOURCENAME=                // Your Source Name
MINDBODY_SOURCEPASSWORD=            // Your Source Password
MINDBODY_SITEIDS=                   // Site ID. (Also accepts a comma-delimitted list of IDs)

```

Usage
-----

[](#usage)

#### Option 1: Type-hinting

[](#option-1-type-hinting)

You may type-hint the `Mindbody` class in methods of classes which are resolved by the service container:

```
public function index(Mindbody $mindbody)
{
    $response = $mindbody->GetClients();
}
```

#### Option 2: Use Laravel's helper method

[](#option-2-use-laravels-helper-method)

```
use Nlocascio\Mindbody\Mindbody;

public function index()
{
    $mindbody = resolve(Mindbody::class);

    $mindbody->GetClients();
}
```

#### Running API functions

[](#running-api-functions)

Examples:

```
$mindbody = resolve(Mindbody::class);

$result = $mindbody->GetSites();
```

With arguments:

```
$mindbody = resolve(Mindbody::class);

$result = $mindbody->GetClients([
    'XMLDetail'         => 'Bare',
    'Fields'            => [
                                'Clients.FirstName',
                                'Clients.LastName'
                            ],
    'PageSize'          => 500,
    'CurrentPageIndex'  => 1,
    'SearchText'        => 'example@email.com'
]);
```

###  Health Score

31

—

LowBetter than 70% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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 ~22 days

Recently: every ~36 days

Total

14

Last Release

3123d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

v0.3.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ae1c7318fdb82a1da82fdf0db450533321bc7d67218eab49788817259e7884f?d=identicon)[nlocascio](/maintainers/nlocascio)

---

Top Contributors

[![nlocascio](https://avatars.githubusercontent.com/u/10979131?v=4)](https://github.com/nlocascio "nlocascio (55 commits)")

---

Tags

laravelmindbodylaravelmindbody

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nlocascio-mindbody-laravel/health.svg)

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

###  Alternatives

[revolution/laravel-bluesky

Bluesky(AT Protocol) for Laravel

4315.6k](/packages/revolution-laravel-bluesky)

PHPackages © 2026

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