https://github.com/walissonaguirra/guzzle-github
Integração com API Github usando Guzzle
https://github.com/walissonaguirra/guzzle-github
guzzlehttp php
Last synced: about 1 year ago
JSON representation
Integração com API Github usando Guzzle
- Host: GitHub
- URL: https://github.com/walissonaguirra/guzzle-github
- Owner: walissonaguirra
- License: gpl-3.0
- Created: 2024-09-07T00:18:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T01:15:01.000Z (almost 2 years ago)
- Last Synced: 2025-02-08T19:15:09.173Z (over 1 year ago)
- Topics: guzzlehttp, php
- Language: PHP
- Homepage: https://medium.com/@walissonaguirra/integra%C3%A7%C3%A3o-com-a-api-do-github-usando-guzzle-a72f62559dcc
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Integração com a API do GitHub usando Guzzle



Este projeto demonstra como integrar a API do GitHub utilizando a biblioteca Guzzle em PHP. O exemplo inclui uma requisição PATCH para atualizar a descrição de um repositório.
### Configuração
Renomeie o arquivo .env.exemple para .env na raiz do projeto e adicione suas variáveis de ambiente:
```dotenv
GITHUB_API_URL='https://api.github.com/'
GITHUB_TOKEN='seu_token_de_acesso'
```
_Nota: Certifique-se de que o token de acesso tenha permissões adequadas para modificar repositórios._
### Licença
Este projeto está licenciado sob a licença [GNU General Public License v3.0](https://github.com/walissonaguirra/guzzle-github/blob/main/LICENSE).