PHPackages                             masmerise/scrada-for-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. [Framework](/categories/framework)
4. /
5. masmerise/scrada-for-laravel

ActiveLibrary[Framework](/categories/framework)

masmerise/scrada-for-laravel
============================

Laravel framework adapter for the Scrada SDK.

1.3.0(2mo ago)230MITPHPPHP ~8.5CI passing

Since Jan 1Pushed 2mo agoCompare

[ Source](https://github.com/masmerise/scrada-for-laravel)[ Packagist](https://packagist.org/packages/masmerise/scrada-for-laravel)[ Docs](https://github.com/masmerise/scrada-for-laravel)[ RSS](/packages/masmerise-scrada-for-laravel/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (22)Versions (5)Used By (0)

[![Scrada PHP SDK](https://camo.githubusercontent.com/179a17939ec257d9ca450cb4b1f8a67273a3a1881755902e58b0323a000807bd/68747470733a2f2f7777772e7363726164612e62652f77702d636f6e74656e742f75706c6f6164732f323032332f31302f5363726164614c6f676f576562736974652e706e67)](https://camo.githubusercontent.com/179a17939ec257d9ca450cb4b1f8a67273a3a1881755902e58b0323a000807bd/68747470733a2f2f7777772e7363726164612e62652f77702d636f6e74656e742f75706c6f6164732f323032332f31302f5363726164614c6f676f576562736974652e706e67)[![Laravel](https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg)](https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg)

[![Build Status](https://github.com/masmerise/scrada-for-laravel/actions/workflows/test.yml/badge.svg)](https://github.com/masmerise/scrada-for-laravel/actions)[![Total Downloads](https://camo.githubusercontent.com/c15d03fc0f1daa05d2019c684167e2347674f703f874aa874b312d2614592d31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61736d65726973652f7363726164612d666f722d6c61726176656c)](https://packagist.org/packages/masmerise/scrada-for-laravel)[![Latest Stable Version](https://camo.githubusercontent.com/6a7aa7cbdbe4bf7718ed92c8573cfd43316c9b9b740d4b888eb56e202c3d237e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61736d65726973652f7363726164612d666f722d6c61726176656c)](https://packagist.org/packages/masmerise/scrada-for-laravel)[![License](https://camo.githubusercontent.com/d9345e9ea909a43d63c40c5a738e3c107ad06df7538ad4529a316204b61032b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d61736d65726973652f7363726164612d666f722d6c61726176656c)](https://packagist.org/packages/masmerise/scrada-for-laravel)

Laravel adapter for the Scrada SDK
----------------------------------

[](#laravel-adapter-for-the-scrada-sdk)

This package provides convenient access to the [Scrada SDK](https://github.com/masmerise/scrada-php-sdk) using the Laravel framework.

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

[](#installation)

You can install the package via [composer](https://getcomposer.org):

```
composer require masmerise/scrada-for-laravel
```

After that, define your `scrada` credentials inside the `config/services.php` configuration file:

```
'scrada' => [
    'default' => env('SCRADA_COMPANY', 'default'),

    'companies' => [
        'default' => [
            'api_key' => env('SCRADA_API_KEY'),
            'password' => env('SCRADA_PASSWORD'),
            'env' => env('SCRADA_ENV', 'production'), // or 'test'
        ],
    ],
],
```

Usage
-----

[](#usage)

```
// Resolve a Scrada instance for a specific company
$company = scrada('default')->company->get($id);
```

```
// Resolve the manager and use the default company
$scrada = app('scrada');

$company = $scrada->company('default')->company->get($id);
```

```
use Scrada\Company\Type\Primitive\CompanyId;
use Scrada\Laravel\ScradaManager;

final readonly class CompanyController
{
    private function __construct(private ScradaManager $scrada) {}

    public function show(string $company, string $id): void
    {
        $id = CompanyId::fromString($id);

        return view('company.show', [
            'company' => $this->scrada->company($company)->company->get($id),
        ]);
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Muhammed Sari](https://github.com/mabdullahsari)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance84

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

4

Last Release

81d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/124146093?v=4)[Masmerise](/maintainers/masmerise)[@masmerise](https://github.com/masmerise)

---

Top Contributors

[![mabdullahsari](https://avatars.githubusercontent.com/u/24608797?v=4)](https://github.com/mabdullahsari "mabdullahsari (5 commits)")

---

Tags

laravelscrada

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/masmerise-scrada-for-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/masmerise-scrada-for-laravel/health.svg)](https://phpackages.com/packages/masmerise-scrada-for-laravel)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M201](/packages/laravel-ai)[laravel/socialite

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

5.7k108.5M886](/packages/laravel-socialite)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M601](/packages/laravel-boost)

PHPackages © 2026

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