PHPackages                             gameloch/office - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gameloch/office

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gameloch/office
===============

Pacote Laravel para integração com o office através de um aplicativo registrado do azure

15PHP

Since Sep 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/gameloch/office)[ Packagist](https://packagist.org/packages/gameloch/office)[ RSS](/packages/gameloch-office/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Gameloch](https://camo.githubusercontent.com/057d271e81995d34d4c504cf8899a810fb627e1dcfee4c2fee52fa36e916da09/68747470733a2f2f63646e2e67706769632e636f6d2f6c6f676f2e706e67)](https://www.lochlite.com) The **GPGIC** Company

 [![](https://camo.githubusercontent.com/97b5803421d3fe4307917cb5ab71bb9ad8ea9b32346d92cf52bf68c697d15478/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6474666276766b79702f696d6167652f75706c6f61642f76313536363333313337372f6c61726176656c2d6c6f676f6c6f636b75702d636d796b2d7265642e737667)](https://camo.githubusercontent.com/97b5803421d3fe4307917cb5ab71bb9ad8ea9b32346d92cf52bf68c697d15478/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6474666276766b79702f696d6167652f75706c6f61642f76313536363333313337372f6c61726176656c2d6c6f676f6c6f636b75702d636d796b2d7265642e737667)

[![Build Status](https://camo.githubusercontent.com/c59043e0b28eab034f19dabc49c9222c43e3fbe5e0c6bc2837a5c0086132a211/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2f6672616d65776f726b2e737667)](https://travis-ci.org/laravel/framework)[![Total Downloads](https://camo.githubusercontent.com/e93505dcc81f8750a8e183a5fb97dd1294daac165149280e29add0509258f4d0/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f642f746f74616c2e737667)](https://packagist.org/packages/laravel/framework)[![Latest Stable Version](https://camo.githubusercontent.com/c5ffcbe113dda06dd38a2844fa16a8a507540c32a89c6e4a737fbde2f1265ed0/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f762f737461626c652e737667)](https://packagist.org/packages/laravel/framework)[![License](https://camo.githubusercontent.com/f45d904953153ca304a2328243d2733e095eee13a631a1f390709885d41dd692/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f6c6963656e73652e737667)](https://packagist.org/packages/laravel/framework)

About Laravel
-------------

[](#about-laravel)

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

The Lara Office Package is designed to make it easier for Laravel to integrate with Office 365.

### Instalaçao simplificada

[](#instalaçao-simplificada)

Instale com [Composer](https://getcomposer.org/); Na pasta do seu projeto, abra o pronpt de comando e digite os comandos a seguir:

Lara Office

```
composer require gameloch/office:dev-master
```

em seguida, digite os comandos abaixo, um a um. Dependencias

```
composer require illuminate/support:6.0
```

```
composer require league/oauth2-client:2.3.*
```

```
composer require microsoft/microsoft-graph:1.0.*
```

As Dependencias são instaladas separadamente para garantir a funcionalidade do pacote em todas as versões do laravel, visto que em determinadas versões havia um conflito com a versão instalada do laravel, caso haja problemas para instalar alguma dependencia, retire o : e os numeros que estão depois dele (exemplo :6.0), fazendo isso, o laravel instalará a versão compativel.

Não recomendamos, mais se você estiver usando a versão 5.2 (ou inferior) do laravel, abra: Config &gt;&gt; App.php na linha 191(aliases), cole o comando abaixo, depois de 'view'

```
'Office' => Gameloch\Office\Facade\Office::class,
```

Após isso, volte ao pronpt de comando e digite:

```
php artisan vendor:publish --provider="Gameloch\Office\ServiceProvider"
```

feito isso, a instalaçao deverá esta concluida, siga os ultimos passos.

Configuração
------------

[](#configuração)

Agora abra o arquivo env do seu projeto e cole este comando:

```
OFFICE_APP_ID=

OFFICE_SECRET_APP_KEY=

OFFICE_REDIRECT_URI=http://localhost:8000/redirect

OFFICE_SCOPES='openid profile offline_access User.Read Mail.Read'
```

Acesse o portal do azure \[  \] e busque por registro de aplicativo, configure conforme suas necessidades e salve, após, verá o app\_id e o secret\_app, cole os codigos após o = feito isso, o laravel estará devidamente integrado, você pode fazer as de mais configuraçoes no azure(definir permiçoes, limitar o uso e est).

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

[](#contributing)

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

Contributing Lara's Office | You can download the package and make the necessary updates, and then submit your request for review through the Pull Requets tab.

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

[](#security-vulnerabilities)

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via . All security vulnerabilities will be promptly addressed.

If you believe a security breach exists, please email \[\] or use the comments tab

License
-------

[](#license)

The Laravel framework is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

The Lara Office is open-source software licensed under the [GNU license](https://opensource.org/licenses/AGPL-3.0).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/75e123c9db67a2454f6a108d0f511e68dc5cf4a19e54363ef44498fe3692bd14?d=identicon)[gameloch](/maintainers/gameloch)

---

Top Contributors

[![gameloch](https://avatars.githubusercontent.com/u/35765258?v=4)](https://github.com/gameloch "gameloch (9 commits)")

### Embed Badge

![Health badge](/badges/gameloch-office/health.svg)

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

###  Alternatives

[bizley/contenttools

ContentTools editor implementation for Yii 2.

8016.7k](/packages/bizley-contenttools)[adamb/google-fonts

Get a list of Google Fonts and search by type or weight

121.5k](/packages/adamb-google-fonts)

PHPackages © 2026

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