PHPackages                             johnsoftwareentwicklung/smartsheetapi - 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. johnsoftwareentwicklung/smartsheetapi

ActiveLibrary[API Development](/categories/api)

johnsoftwareentwicklung/smartsheetapi
=====================================

An API for Smartsheet

01PHP

Since Oct 30Pushed 1y agoCompare

[ Source](https://github.com/ChristianJohn-Softwareentwicklung/smartsheetapi)[ Packagist](https://packagist.org/packages/johnsoftwareentwicklung/smartsheetapi)[ RSS](/packages/johnsoftwareentwicklung-smartsheetapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Smartsheet
==========

[](#smartsheet)

[![Latest Stable Version](https://camo.githubusercontent.com/de89d40840a1708b1a8e77f6ada6ec42ec5ad2f7e45ba2823ada35abdb103373/68747470733a2f2f706f7365722e707567782e6f72672f696e66616d6f7573747265792f736d61727473686565742f76)](//packagist.org/packages/infamoustrey/smartsheet) [![Total Downloads](https://camo.githubusercontent.com/58f346cb82cd478c97cbf85719ea34be9d489bdd4b4a371321cf01d7a1681fb4/68747470733a2f2f706f7365722e707567782e6f72672f696e66616d6f7573747265792f736d61727473686565742f646f776e6c6f616473)](//packagist.org/packages/infamoustrey/smartsheet) [![Latest Unstable Version](https://camo.githubusercontent.com/4ddecca1cf64a7b79235736743c9a0c363af00387ada78bb7e3016d36cbfe9f7/68747470733a2f2f706f7365722e707567782e6f72672f696e66616d6f7573747265792f736d61727473686565742f762f756e737461626c65)](//packagist.org/packages/infamoustrey/smartsheet) [![License](https://camo.githubusercontent.com/5f41c7c06464c1418502f4c1624a2cedf6e1d832ba335d06ddce46b605287b2b/68747470733a2f2f706f7365722e707567782e6f72672f696e66616d6f7573747265792f736d61727473686565742f6c6963656e7365)](//packagist.org/packages/infamoustrey/smartsheet)

This library serves as a convenience wrapper around the [REST API that smartsheet exposes](https://smartsheet-platform.github.io/api-docs/). It also uses the [Collections](https://packagist.org/packages/illuminate/collections) library from the Illuminate library in lieu of arrays, so check that out if you are unfamiliar with it.

Table of Contents
=================

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
    - [Sheets](#sheets)
    - [Workspace](#workspace)
    - [Folder](#folder)
- [Issues](#issues)
- [Roadmap](#roadmap)
- [Contributing](#contributing)

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

[](#installation)

The preferred method of installing this library is with Composer by running the following from your project root:

```
composer require infamoustrey/smartsheet
```

Usage
-----

[](#usage)

This library provides a fluent api for interacting with Smartsheet.

```
$smartsheetClient = new \Smartsheet\SmartsheetClient([ 'token' => 'yourapitoken' ]);

$smartsheetClient->getSheet('sheetid');
```

### Sheets

[](#sheets)

Fetch a list of sheets

```
$smartsheetClient = new \Smartsheet\SmartsheetClient([ 'token' => 'yourapitoken' ]);

$smartsheetClient->listSheets(); // Collection
```

Access a sheet, see the [Sheet Object](https://smartsheet-platform.github.io/api-docs/#sheet-object) for a list of possible properties.

```
$smartsheetClient = new \Smartsheet\SmartsheetClient([ 'token' => 'yourapitoken' ]);

$sheet = $smartsheetClient->getSheet('4583173393803140');

// Access some fields
$sheet->getId(); // '4583173393803140'
$sheet->getName(); // 'sheet 1'

// Add some rows
$sheet->addRow([
    'ID' => "39424808324",
    'Transaction Desc' => "Toys",
    'Amount' => 754.23,
]);
```

### Workspace

[](#workspace)

Fetch a workspace and access its properties. See the [Workspace Object](https://smartsheet-platform.github.io/api-docs/#objects-28) for a list of possible properties.

```
$smartsheetClient = new \Smartsheet\SmartsheetClient([ 'token' => 'yourapitoken' ]);

$workspace = $smartsheetClient->getWorkspace('7116448184199044'); // \Smartsheet\Resources\Workspace

$workspace->getId(); // '7116448184199044'
$workspace->getName(); // 'New workspace'

$workspace->listSheets(); // Collection

// Fetch a sheet by name
$workspace->getSheet('sheet name'); // Sheet

// Create a sheet with some columns
$workspace->createSheet('sheet name', [
    [
        "title" => "Primary",
        "type" => "TEXT_NUMBER",
        "primary" => true
    ]
]);
```

### Folder

[](#folder)

Fetch a folder and access its properties. See the [Folder Object](https://smartsheet-platform.github.io/api-docs/#folders) for a list of possible properties.

```
$smartsheetClient = new \Smartsheet\Client([ 'token' => 'yourapitoken' ]);

$folder = $smartsheetClient->getFolder('7116448184199044'); // Folder

// Access some fields
$folder->getId(); // '7116448184199044'
$folder->getName(); // 'Projects'
$sheet = $folder->getSheet('sheet name');
```

Issues
------

[](#issues)

Use this repository's [issue tracker](https://github.com/Infamoustrey/smartsheet/issues) to resolve issues and ask questions.

Roadmap
-------

[](#roadmap)

Full api coverage! There's a lot missing, if you see something missing then put in a PR! Your help is appreciated!

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

[](#contributing)

Feel free to [submit a PR](https://github.com/Infamoustrey/smartsheet/compare), just be sure to explain what you are trying to fix/add when submitting it. If you do decide to add functionality, it must be covered by a test. See the [contribution guide](./CONTRIBUTING.md) for more info.

To run the tests simply run, you'll want to add a `.env` file(see `.env.example`) with a valid api token value in the `SMARTSHEET_API_TOKEN` variable. Tests are also run on pull requests.

```
./vendor/bin/phpunit
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75.5% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ede42b39c82fec16e0c0a59810bdaed56115e09b5e66db7b87b475c78d2acfc?d=identicon)[ChristianJohn-Softwareentwicklung](/maintainers/ChristianJohn-Softwareentwicklung)

---

Top Contributors

[![Infamoustrey](https://avatars.githubusercontent.com/u/5813665?v=4)](https://github.com/Infamoustrey "Infamoustrey (40 commits)")[![ChristianJohn-Softwareentwicklung](https://avatars.githubusercontent.com/u/59682676?v=4)](https://github.com/ChristianJohn-Softwareentwicklung "ChristianJohn-Softwareentwicklung (4 commits)")[![jordyyau](https://avatars.githubusercontent.com/u/3924485?v=4)](https://github.com/jordyyau "jordyyau (3 commits)")[![michaeldchin](https://avatars.githubusercontent.com/u/8571136?v=4)](https://github.com/michaeldchin "michaeldchin (3 commits)")[![sigurdne](https://avatars.githubusercontent.com/u/12719970?v=4)](https://github.com/sigurdne "sigurdne (2 commits)")[![alnutile](https://avatars.githubusercontent.com/u/365385?v=4)](https://github.com/alnutile "alnutile (1 commits)")

### Embed Badge

![Health badge](/badges/johnsoftwareentwicklung-smartsheetapi/health.svg)

```
[![Health](https://phpackages.com/badges/johnsoftwareentwicklung-smartsheetapi/health.svg)](https://phpackages.com/packages/johnsoftwareentwicklung-smartsheetapi)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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