PHPackages                             qwertyllo/spoil - 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. qwertyllo/spoil

ActiveLibrary[API Development](/categories/api)

qwertyllo/spoil
===============

SPOIL is a PHP library for SharePoint Online (2013) and SharePoint for Office 365. Forked from impensavel/spoil

0301PHP

Since Nov 3Pushed 11mo agoCompare

[ Source](https://github.com/qwertyllo/spoil)[ Packagist](https://packagist.org/packages/qwertyllo/spoil)[ RSS](/packages/qwertyllo-spoil/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

SPOIL
=====

[](#spoil)

SPOIL (**S**hare**P**oint **O**nline **I**nquiry **L**ibrary) is a [PHP](http://www.php.net) library for **SharePoint Online (2013)** and **SharePoint for Office 365**.

Currently supported are SharePoint **Lists**, **Folders**, **Items**, **Files**, **RecycleBinItems**, **RecycleBinItemCollections** and **Users**.

The library aims to comply with the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) standards.

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

[](#requirements)

- [PHP](http://www.php.net) 5.5+
- [HTTP Message related tools](https://packagist.org/packages/php-http/message)
- [PHP-JWT](https://packagist.org/packages/firebase/php-jwt)
- [Carbon](https://packagist.org/packages/nesbot/carbon)
- A package that provides [php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation)

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

[](#installation)

```
composer require "impensavel/spoil"
```

> **TIP:** This library isn't coupled to a specific HTTP client! Read the **SPSite** [documentation](docs/SPSite.md) for more information.

Class documentation
-------------------

[](#class-documentation)

- [SPSite](docs/SPSite.md)
- [SPAccessToken](docs/SPAccessToken.md)
- [SPContextInfo](docs/SPContextInfo.md)
- [SPList](docs/SPList.md)
- [SPItem](docs/SPItem.md)
- [SPFolder](docs/SPFolder.md)
- [SPFile](docs/SPFile.md)
- [SPRecycleBinItem](docs/SPRecycleBinItem.md)
- [SPRecycleBinItemCollection](docs/SPRecycleBinItemCollection.md)
- [SPUser](docs/SPUser.md)

SharePoint credentials
----------------------

[](#sharepoint-credentials)

[Instructions](docs/Credentials.md) on how to generate SharePoint credentials.

Troubleshooting
---------------

[](#troubleshooting)

Common issues and how to [solve them](docs/Troubleshooting.md).

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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/8d08186371d6e1d4b34be40e2a374eb2f1850b962233524055f6e8bf4d13091d?d=identicon)[qwertyllo](/maintainers/qwertyllo)

---

Top Contributors

[![quetzyg](https://avatars.githubusercontent.com/u/1413966?v=4)](https://github.com/quetzyg "quetzyg (126 commits)")[![qwertyllo](https://avatars.githubusercontent.com/u/37702271?v=4)](https://github.com/qwertyllo "qwertyllo (9 commits)")

### Embed Badge

![Health badge](/badges/qwertyllo-spoil/health.svg)

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

###  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)
