PHPackages                             creso/laravel-easyoffice-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. [API Development](/categories/api)
4. /
5. creso/laravel-easyoffice-api

ActiveLibrary[API Development](/categories/api)

creso/laravel-easyoffice-api
============================

Laravel EasyOffice API wrapper

0.0.2(3y ago)031[2 PRs](https://github.com/creso-be/laravel-easyoffice-api/pulls)MITPHPPHP ^8.1

Since Jan 23Pushed 2y agoCompare

[ Source](https://github.com/creso-be/laravel-easyoffice-api)[ Packagist](https://packagist.org/packages/creso/laravel-easyoffice-api)[ Docs](https://github.com/creso/laravel-easyoffice-api)[ RSS](/packages/creso-laravel-easyoffice-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (10)Versions (5)Used By (0)

Laravel EasyOffice API wrapper
==============================

[](#laravel-easyoffice-api-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/78937df42473bc4f570a4dd4f93fabc3057fb197ee543520ecdf0b6e5049f39d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f637265736f2f6c61726176656c2d656173796f66666963652d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creso/laravel-easyoffice-api)[![Total Downloads](https://camo.githubusercontent.com/0a310e2c1e7e3b1e922b5a3522bf5627f2ecedbb4760be0c1e8e65cdfa8a376a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f637265736f2f6c61726176656c2d656173796f66666963652d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creso/laravel-easyoffice-api)

Laravel wrapper around the EasyOffice API.

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

[](#installation)

You can install the package via composer:

```
composer require creso/laravel-easyoffice-api
```

You can publish the config file with:

```
php artisan vendor:publish --tag="easyoffice-api-config"
```

This is the contents of the published config file:

```
return [

    /**
     * The base url of the EasyOffice API.
     */
    'base_url' => env('EASY_OFFICE_API_BASE_URL'),

    /**
     * The API token to authenticate with the EasyOffice API.
     */
    'api_token' => env('EASY_OFFICE_API_TOKENS'),

    /**
     * Enable or disable api response cache. (not used yet)
     */
    'enable_cache' => env('EASY_OFFICE_ENABLE_CACHE'),

    /**
     * The cache lifetime of an api response in seconds. (not used yet)
     *
     * This will only be used in case no specific cache lifetime is configured for the api type
     * in the config setting below.
     */
    'default_cache_liftime' => 60 * 60,  // 1h

    /**
     * The cache lifetime of an api response in seconds for a given api type. (not used yet)
     */
    'cache_lifetime' => [
        'webcontentParts' => 60 * 60 * 24, // 24h
    ],
];
```

Usage
-----

[](#usage)

Facade vs Dependency injection vs app helper
--------------------------------------------

[](#facade-vs-dependency-injection-vs-app-helper)

```
# Using the facade
EasyOfficeApi::webcontentParts()->all();
```

```
# Dependency injection

use Creso\LaravelEasyofficeApi\EasyofficeApi;

class MyClass
{
    public function __construct(private EasyofficeApi $easyofficeApi)
    {
    }

    public function __invoke()
    {
        $this->easyofficeApi->webcontentParts()->all();
    }
}
```

```
# Using the Laravel app helper
use Creso\LaravelEasyofficeApi\EasyofficeApi;

app(EasyofficeApi::class)->webcontentParts()->all();
```

Webcontent parts
----------------

[](#webcontent-parts)

```
# Get all webcontent parts
EasyOfficeApi::webcontentParts()->all();

# Get all webcontents parts, but filterd by uuid
EasyOfficeApi::webcontentParts()->all(['uuid' => 'a-full-or-partial-uuid-to-filter-on']);

# A specific webcontent part by uuid
EasyOfficeApi::webcontentParts()->get('729bc31d-ab1b-4cfb-9dab-b5419bdc92ca');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Tim Van Dyck](https://github.com/vandycktim)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.2% 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 ~3 days

Total

2

Last Release

1201d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8399988edfd8fb13e05ac50b2e9792a2f09d9a14b0bc1af2d3eab71a92cb6ab6?d=identicon)[cresobe](/maintainers/cresobe)

---

Top Contributors

[![jorenvh](https://avatars.githubusercontent.com/u/8791625?v=4)](https://github.com/jorenvh "jorenvh (18 commits)")[![vandycktim](https://avatars.githubusercontent.com/u/23070382?v=4)](https://github.com/vandycktim "vandycktim (6 commits)")[![deinte](https://avatars.githubusercontent.com/u/56456276?v=4)](https://github.com/deinte "deinte (2 commits)")

---

Tags

laravelcresolaravel-easyoffice-api

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/creso-laravel-easyoffice-api/health.svg)

```
[![Health](https://phpackages.com/badges/creso-laravel-easyoffice-api/health.svg)](https://phpackages.com/packages/creso-laravel-easyoffice-api)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[spatie/laravel-rdap

Perform RDAP queries in a Laravel app

72108.3k2](/packages/spatie-laravel-rdap)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)

PHPackages © 2026

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