PHPackages                             geovanefss/laravel-api-moloni - 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. geovanefss/laravel-api-moloni

ActiveLibrary[API Development](/categories/api)

geovanefss/laravel-api-moloni
=============================

A PHP package for interacting with Moloni APIs

v1.1.3(1y ago)42211MITPHPPHP &gt;=7.4

Since Oct 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/GeovaneF55/laravel-api-moloni)[ Packagist](https://packagist.org/packages/geovanefss/laravel-api-moloni)[ RSS](/packages/geovanefss-laravel-api-moloni/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

Geovane's Moloni's API Client for PHP
=====================================

[](#geovanes-molonis-api-client-for-php)

 [![Supported PHP Versions](https://camo.githubusercontent.com/03376f727688c84f11daf182508df967165c1aab7f870f3fbb2d04ec2d7ff61c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342d627269676874677265656e2e7376673f6c6f676f3d706870266c6f6e6743616368653d74727565)](https://php.watch/versions) [![GitHub Releases](https://camo.githubusercontent.com/17149006b3d5ec7375cf443e511b4e28d4309f38ea162f26bc3bf4da923fcf36/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f47656f76616e654635352f6c61726176656c2d6170692d6d6f6c6f6e693f696e636c7564655f70726572656c6561736573)](https://github.com/GeovaneF55/laravel-api-moloni/releases) [![Maintained - Yes](https://camo.githubusercontent.com/35e54c226c23f676d4cc29a21ef0905b980417db116ef3daef5ea61bbfd99321/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65642533462d7965732d627269676874677265656e2e737667)](https://github.com/GeovaneF55/laravel-api-moloni/graphs/commit-activity) [![](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

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

[](#installation)

To install this package, ensure you have [Composer](https://getcomposer.org/) installed on your system. Then, run the following command in your project directory:

```
composer require geovanefss/laravel-api-moloni
```

Environment Configuration
-------------------------

[](#environment-configuration)

In your `.env` file, define the necessary environment variables to configure the Moloni API. This will keep your credentials secure and allow for easy configuration changes.

```
MOLONI_GRANT_TYPE=password
MOLONI_CLIENT_ID=your_client_id
MOLONI_CLIENT_SECRET=your_client_secret
MOLONI_USERNAME=your_username
MOLONI_PASSWORD=your_password
```

You can adjust these values based on your Moloni API credentials and usage requirements.

Usage Example
-------------

[](#usage-example)

Below is an example demonstrating how to use this package in your Laravel project:

```
