PHPackages                             mjharris/procore-php-sdk - 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. mjharris/procore-php-sdk

ActiveLibrary[API Development](/categories/api)

mjharris/procore-php-sdk
========================

Procore PHP SDK — MJ Harris fork of moab-tech/procore-php-sdk

v0.1.0(1mo ago)022↓100%MITPHPPHP ^7.4|^8.0

Since Apr 21Pushed 1mo agoCompare

[ Source](https://github.com/mjharris/procore-php-sdk)[ Packagist](https://packagist.org/packages/mjharris/procore-php-sdk)[ Docs](https://github.com/mjharris/procore-php-sdk)[ RSS](/packages/mjharris-procore-php-sdk/feed)WikiDiscussions main Synced 1w ago

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

Procore PHP SDK
===============

[](#procore-php-sdk)

NOTICE!! This is very much a work in progress. Only a few endpoints are available and there are no tests. Use at your own risk.

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

[](#installation)

You can install the package via composer:

```
composer require mjharris/procore-php-sdk
```

Usage
-----

[](#usage)

You can authenticate 4 different ways using a configuration array passed to the client.

The first is with an existing valid access token.

```
$procore = new MJHarris\Procore\Client([
            'client_id' => 'YOUR-CLIENT-ID',
            'client_secret' => 'YOUR-CLIENT-SECRET',
            'access_token' => 'YOUR-ACCESS-TOKEN',
            'expires_in' => 'OPTIONAL: Should be in seconds'
        ]);
$procoreUser = $procore->me()->show();
```

If you don't have a valid token but you have a refresh token that hasn't been used yet, you can authenticate with that. Please don't include an access\_token value when using this method or it will try to use that for authentication instead.

```
$procore = new MJHarris\Procore\Client([
            'client_id' => 'YOUR-CLIENT-ID',
            'client_secret' => 'YOUR-CLIENT-SECRET',
            'refresh_token' => 'YOUR-ACCESS-TOKEN'
        ]);
$procoreUser = $procore->me()->show();
```

If your application uses a Client Credentials grant type, then you can simply define the type and pass in your id and secret. This method of authentication is best for service type requests as opposed to user requests.

```
$procore = new MJHarris\Procore\Client([
            'grant_type => 'client_credentials',
            'client_id' => 'YOUR-CLIENT-ID',
            'client_secret' => 'YOUR-CLIENT-SECRET'
        ]);
$procoreUser = $procore->me()->show();
```

Please refer to the Procore documentation for receiving a code to use via the Authorization Code grant type. This method of authentication is used when you would like the user to authenticate to your app using their Procore username and password. Any requests made will then be tied to this user. Please keep in mind that the user will only be able to access endpoints that he/she has permissions for.

```
$procore = new MJHarris\Procore\Client([
            'grant_type => 'authorization_code',
            'client_id' => 'YOUR-CLIENT-ID',
            'client_secret' => 'YOUR-CLIENT-SECRET',
            'code' => 'CODE-YOU-RECEIVED-DURING-AUTHORIZATION',
            'redirect_uri' => 'ie https://example.test/procore/callback'
        ]);
$procoreUser = $procore->me()->show();
```

Testing
-------

[](#testing)

Coming Soon!

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Chris Baswell](https://github.com/chrisbaswell)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance90

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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

49d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/053a696bdc522bc216d16af4d6831c74da8697e464988bd946b946b8efa4e958?d=identicon)[delta1186](/maintainers/delta1186)

---

Top Contributors

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

---

Tags

procore-php-sdkmjharris

### Embed Badge

![Health badge](/badges/mjharris-procore-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/mjharris-procore-php-sdk/health.svg)](https://phpackages.com/packages/mjharris-procore-php-sdk)
```

###  Alternatives

[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M710](/packages/sylius-sylius)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9515.7M72](/packages/m4tthumphrey-php-gitlab-api)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k26.1M293](/packages/openai-php-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28146.3k](/packages/phpro-http-tools)[bitbucket/client

Bitbucket API 2.0 client for PHP

103807.8k13](/packages/bitbucket-client)

PHPackages © 2026

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