PHPackages                             42sol/onlyoffice-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. 42sol/onlyoffice-laravel

ActiveLibrary

42sol/onlyoffice-laravel
========================

Connector for Laravel for easy Onlyoffcie integration

1.0.17(1y ago)040MITPHPPHP &gt;=8.0.0

Since Mar 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/42-sol/laravel-onlyoffice)[ Packagist](https://packagist.org/packages/42sol/onlyoffice-laravel)[ RSS](/packages/42sol-onlyoffice-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (19)Used By (0)

laravel-onlyoffice
==================

[](#laravel-onlyoffice)

Connector between larvel framework and onlyoffcie self-hosted api

Configuration
-------------

[](#configuration)

After installation run

```
php artisan vendor:publish --tag=onlyoffice-default
```

Set "host" variable with the address of your only office installation in published configuration file Provide JWT\_SECRET generated by your installation of onlyoffice via env variable (assuming one been generated/set during onlyoffice installation).

Development notes
-----------------

[](#development-notes)

Container configuration
=======================

[](#container-configuration)

For usage with docker add to your docker-compose file:

```
    documentserver:
        image: onlyoffice/documentserver
        environment:
            - ALLOW_PRIVATE_IP_ADDRESS=true
            - USE_UNAUTHORIZED_STORAGE=true
            - JWT_ENABLED=false
            - JWT_HEADER=Authorization
            - JWT_SECRET=${JWT_SECRET}
```

Usage of traefic advised due to complications with traffic routing between containers. Add following to previously mentioned container configuration, update your hosts.etc file with nessesery hosts

```
        labels:
            - "traefik.enable=true"
            - "traefik.http.routers.$COMPOSE_PROJECT_NAME-office.rule=Host(`*addition to base domain name*.$DOMAIN_NAME`)"
        extra_hosts:
            - "$DOMAIN_NAME=host-gateway"
            - "host.docker.internal=host-gateway"
```

It is better to set JWT\_SECRET via env variable or directly in environment section before running containers. Otherwise it will be generated automatically and will be difficult to obtain.

Also don't forget to add new host (`*addition to base domain name*.$DOMAIN_NAME`) to extra\_hosts section of your php container configuration.

Filesystem configuration
========================

[](#filesystem-configuration)

If files you want to open aren't in storage/public forlder then you will have to configure additional symlink and disk in filesystems.php Make shure symlink and 'url' parameter from disk config are leading on the same path.

```
'files' => [
            'driver' => 'local',
            'root' => storage_path('app/files'),
            'url' => env('APP_URL').'/storage/files',
        ],

 // ...

'links' => [
        //...
        public_path('storage/files') => storage_path('app/files')
    ],

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance46

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

18

Last Release

411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7752531d8f8f9f25c6813511f5d23618ad4840a9c380877ce3c2eefdfc029310?d=identicon)[disaipe](/maintainers/disaipe)

---

Top Contributors

[![ValerianMemsk](https://avatars.githubusercontent.com/u/92876090?v=4)](https://github.com/ValerianMemsk "ValerianMemsk (25 commits)")

### Embed Badge

![Health badge](/badges/42sol-onlyoffice-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/42sol-onlyoffice-laravel/health.svg)](https://phpackages.com/packages/42sol-onlyoffice-laravel)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[google/auth

Google Auth Library for PHP

1.4k272.7M162](/packages/google-auth)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)

PHPackages © 2026

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