PHPackages                             renoki-co/laravel-steampipe - 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. [Database &amp; ORM](/categories/database)
4. /
5. renoki-co/laravel-steampipe

ActiveLibrary[Database &amp; ORM](/categories/database)

renoki-co/laravel-steampipe
===========================

Use Laravel's built-in ORM classes to query cloud resources with Steampipe.

1.0.0(4y ago)143[4 PRs](https://github.com/renoki-co/laravel-steampipe/pulls)Apache-2.0PHPCI passing

Since Sep 17Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/renoki-co/laravel-steampipe)[ Packagist](https://packagist.org/packages/renoki-co/laravel-steampipe)[ Docs](https://github.com/renoki-co/laravel-steampipe)[ GitHub Sponsors](https://github.com/rennokki)[ RSS](/packages/renoki-co-laravel-steampipe/feed)WikiDiscussions master Synced today

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

Laravel Steampipe
=================

[](#laravel-steampipe)

[![CI](https://github.com/renoki-co/laravel-steampipe/workflows/CI/badge.svg?branch=master)](https://github.com/renoki-co/laravel-steampipe/workflows/CI/badge.svg?branch=master)[![codecov](https://camo.githubusercontent.com/ea0734b68876f0481232ac9d5363b8a5caf721795e320d4b7350309bd13516c1/68747470733a2f2f636f6465636f762e696f2f67682f72656e6f6b692d636f2f6c61726176656c2d737465616d706970652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/renoki-co/laravel-steampipe/branch/master)[![StyleCI](https://camo.githubusercontent.com/65558d7e37f9730a5a391115e23e862c315e33b3281ad8b6baa4c2b1c98bb211/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3430373131333133392f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/407113139)[![Latest Stable Version](https://camo.githubusercontent.com/971e90bbd8d3340b747057fb4a888a1df46ba79a6aad4fcff65f27c8ddb499ce/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d737465616d706970652f762f737461626c65)](https://packagist.org/packages/renoki-co/laravel-steampipe)[![Total Downloads](https://camo.githubusercontent.com/49d547ba3f11962722e1b2886bd6ea2a427b109f37d0d1578507835430350661/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d737465616d706970652f646f776e6c6f616473)](https://packagist.org/packages/renoki-co/laravel-steampipe)[![Monthly Downloads](https://camo.githubusercontent.com/fb2ece6a5016ee246d88de3a573aa086f5401c4695e11e009d8d97c440e549e7/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d737465616d706970652f642f6d6f6e74686c79)](https://packagist.org/packages/renoki-co/laravel-steampipe)[![License](https://camo.githubusercontent.com/ffd155f3a9595c5ca3fef6086c9d114b322151b074c674dae8635c219f6b1beb/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d737465616d706970652f6c6963656e7365)](https://packagist.org/packages/renoki-co/laravel-steampipe)

Use Laravel's built-in ORM classes to query cloud resources with [Steampipe](https://hub.steampipe.io), an open source CLI to instantly query cloud APIs using SQL.

🤝 Supporting
------------

[](#-supporting)

**If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with [Github Sponsors](https://github.com/sponsors/rennokki). 📦**

[![](https://camo.githubusercontent.com/ab4b60bf2d35b6b6f512468409ddcf7aa93082b01a6ca6f4072bcff714ec6a9e/68747470733a2f2f6769746875622d636f6e74656e742e73332e66722d7061722e7363772e636c6f75642f7374617469632f33332e6a7067)](https://github-content.renoki.org/github-repo/33)

🚀 Installation
--------------

[](#-installation)

You can install the package via composer:

```
composer require renoki-co/laravel-steampipe
```

In your `config/database.php`, add a new driver:

```
'connections' => [

    'steampipe' => [
        'driver' => 'steampipe',
        'binary' => env('STEAMPIPE_BINARY', 'steampipe'),
    ],

],
```

You can define the Steampipe binary path with `STEAMPIPE_BINARY`.

🙌 Usage
-------

[](#-usage)

Steampipe is multi-vendor, multi-plugin. This means that you can interact with any cloud APIs just like yo would do with Postgres.

For it to work locally and avoid code pollution, you would want to create a model for the "tables" you would want to access the cloud APIs through.

For example, let's make a `AwsRegion` model for the [`aws_region` table](https://hub.steampipe.io/plugins/turbot/aws/tables/aws_region). Make sure you have [installed the AWS plugin for Steampipe](https://steampipe.io/docs).

```
php artisan steampipe:make:model aws_region
```

**Please observe that the models are created from the table in singular, `aws_region`. Usually, in Laravel you would have created the model class name directly. To break even and make the generation command easier, you should pass the table name instead of a class name.**

The command will create for you an `app/Steampipe/Aws/AwsRegion.php` file where you can access the model:

```
use App\Steampipe\Aws\AwsRegion;

foreach (AwsRegion::all() as $region) {
    //
}
```

All SQL-like methods from Laravel ORM are available to be used as explained [in the Steampipe documentation](https://steampipe.io/docs/using-steampipe/writing-queries).

Models also work with the built-in model features, like hidden fields or appends.

Generation
----------

[](#generation)

You may generate as many models as you need. The convention is that when creating a table, it will always follow this pattern:

```
App\Steampipe\{Provider}\{TableNameStudlyCase};

```

This way, the models will know how to access the tables. For example, for a [DigitalOcean droplet](https://hub.steampipe.io/plugins/turbot/digitalocean/tables/digitalocean_droplet) it would look like this:

```
php artisan steampipe:make:model digitalocean_droplet
```

```
use App\Steampipe\Digitalocean\DigitaloceanDroplet;

DigitaloceanDroplet::find(227211874);
```

🐛 Testing
---------

[](#-testing)

You will need to set up an AWS account and add `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` to your environment variables.

The user with the access tokens should have the following IAM policy:

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "ec2:DescribeRegions",
            "Resource": "*"
        }
    ]
}
```

To run tests:

```
vendor/bin/phpunit
```

🤝 Contributing
--------------

[](#-contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

🔒 Security
----------

[](#--security)

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

🎉 Credits
---------

[](#-credits)

- [Alex Renoki](https://github.com/rennokki)
- [All Contributors](../../contributors)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance51

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.7% 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 ~72 days

Total

3

Last Release

1604d ago

Major Versions

0.2.0 → 1.0.02022-02-09

### Community

Maintainers

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

---

Top Contributors

[![rennokki](https://avatars.githubusercontent.com/u/21983456?v=4)](https://github.com/rennokki "rennokki (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (17 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (5 commits)")

---

Tags

alibabaalibabaormapiawsazurecloudgcplaravelphpquerysqlsteampipephplaravelawscloudormsqlqueryazuregcpalibabasteampipe

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/renoki-co-laravel-steampipe/health.svg)

```
[![Health](https://phpackages.com/badges/renoki-co-laravel-steampipe/health.svg)](https://phpackages.com/packages/renoki-co-laravel-steampipe)
```

###  Alternatives

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M626](/packages/spatie-laravel-medialibrary)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.3k](/packages/larastan-larastan)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M162](/packages/spatie-laravel-health)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M188](/packages/laravel-ai)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)

PHPackages © 2026

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