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

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

monthly-cloud/monthly-sdk-laravel
=================================

Laravel SDK for monthly.cloud.

0.8.4(1y ago)13.0k↓100%1MITPHPPHP &gt;=7.0CI failing

Since Sep 9Pushed 6mo agoCompare

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

READMEChangelog (10)Dependencies (4)Versions (21)Used By (0)

Monthly Cloud PHP SDK
=====================

[](#monthly-cloud-php-sdk)

Laravel SDK used to connect with monthly cloud.

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

[](#installation)

```
composer require monthly-cloud/monthly-sdk-laravel
```

Add Monthly Cloud service provider and alias to your config/app.php config:

```
'providers' => [
    ...
    MonthlyCloud\Laravel\MonthlyCloudServiceProvider::class,
],
```

```
'aliases' => [
    ...
    'MonthlyCloud' => MonthlyCloud\Laravel\MonthlyCloud::class,
    'MonthlyStorage' => MonthlyCloud\Laravel\MonthlyStorage::class,
],
```

### Configuration

[](#configuration)

To create configuration file run:

```
php artisan vendor:publish --provider="MonthlyCloud\Laravel\MonthlyCloudServiceProvider"
```

In oprder to access cloud API update .env file `MONTHLY_CLOUD_ACCESS_TOKEN` variable or `config/monthlycloud.php` access\_token with access token generated in cloud settings.

To use Monthly Storage set `MONTHLY_CLOUD_WEBSITE_ID` and `MONTHLY_CLOUD_LISTING_ID`.

### Usage

[](#usage)

Example usage of Monthly Cloud sdk:

```
$property = MonthlyCloud::endpoint('properties')->find(1); // Single property
$properties = MonthlyCloud::endpoint('properties')->get(); // List of properties
```

Example usage of Monthly Storage sdk:

```
MonthlyStorage::endpoint('routes')->get(); // get routes using default app language
MonthlyStorage::endpoint('menus')->locale('en')->get(); // get menus in pre-defined language
MonthlyStorage::endpoint('contents')->find(31); // find content
MonthlyStorage::endpoint('contents')->website(3)->id(31)->buildUrl(); // build file url for specific website and content id

MonthlyStorage::getListingItem()->find(100); // find listing item
MonthlyStorage::findContent(1); // quick way to find content
MonthlyStorage::getRoutes('en'); // quick way to access routes
```

Example usage of Translation Service:

```
/**
 * Get key from translations dictionary.
 *
 * @param string|null $key
 * @return string|array
 */
function __t($key = null)
{
	if (empty($key)) {
		return app(\MonthlyCloud\Laravel\Services\TranslationService::class)->getTranslations();
	}

	return app(\MonthlyCloud\Laravel\Services\TranslationService::class)->translate($key);
}
```

### User log-in

[](#user-log-in)

Monthly Cloud is compatible with Laravel Authentication.

You can setup authentication by running:

```
php artisan make:auth
php artisan migrate

```

Setup cloud provider in auth.php:

```
    'guards' => [
        'web' => [
            ...
            'provider' => 'cloud',
        ],
    ...
    'providers' => [
        'cloud' => [
            'driver' => 'cloud',
            'model' => App\User::class,
        ],
        ...
    ],

```

Add IsMonthlyCloudUser trait to User model. By default it will store cloud "label" in $user-&gt;name and save it in database.

If you need more information in local database check `applyUserData` method in `IsMonthlyCloudUser` trait.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance55

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% 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 ~119 days

Recently: every ~340 days

Total

20

Last Release

529d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.6

0.8.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/21c05f7f4fa40129f767fe94e2b5e8aa3209e7d106b0b3916604707ec9ded82f?d=identicon)[monthly](/maintainers/monthly)

---

Top Contributors

[![sl0wik](https://avatars.githubusercontent.com/u/2696038?v=4)](https://github.com/sl0wik "sl0wik (68 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (3 commits)")

---

Tags

phplaravelsdkmonthly

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/monthly-cloud-monthly-sdk-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/monthly-cloud-monthly-sdk-laravel/health.svg)](https://phpackages.com/packages/monthly-cloud-monthly-sdk-laravel)
```

###  Alternatives

[monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3372.7M4](/packages/monicahq-laravel-cloudflare)[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)[willywes/agora-sdk-php

Agora.io SDK PHP

1023.2k2](/packages/willywes-agora-sdk-php)

PHPackages © 2026

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