PHPackages                             astroway/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. [API Development](/categories/api)
4. /
5. astroway/sdk-laravel

ActiveLibrary[API Development](/categories/api)

astroway/sdk-laravel
====================

Laravel ServiceProvider + facade for astroway/sdk — astroway() helper, config publishing, env-driven setup.

v0.1.0-alpha.1(1mo ago)00MITPHPPHP ^8.1CI passing

Since May 10Pushed 1mo agoCompare

[ Source](https://github.com/astroway/astroway-php-laravel)[ Packagist](https://packagist.org/packages/astroway/sdk-laravel)[ Docs](https://api.astroway.info/docs/)[ RSS](/packages/astroway-sdk-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

astroway/sdk-laravel
====================

[](#astrowaysdk-laravel)

> Official Laravel ServiceProvider + facade for [`astroway/sdk`](https://packagist.org/packages/astroway/sdk) — auto-discovered, env-driven, container singleton.

[![Packagist version](https://camo.githubusercontent.com/cc6ea34ec6d5283e4fbe40fff4749c3ec44374c0461bdc4c22b93406410761cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617374726f7761792f73646b2d6c61726176656c2e7376673f7374796c653d666c617426636f6c6f723d626c7565)](https://packagist.org/packages/astroway/sdk-laravel)

Install
-------

[](#install)

```
composer require astroway/sdk-laravel
php artisan vendor:publish --tag=astroway-config
```

ServiceProvider + facade auto-register via `composer.json`'s `extra.laravel.providers` — no edit to `config/app.php` needed.

Configure
---------

[](#configure)

`.env`:

```
ASTROWAY_API_KEY=aw_live_…
ASTROWAY_BASE_URL=https://api.astroway.info/v1   # optional
ASTROWAY_TIMEOUT=30                                # optional, seconds
ASTROWAY_AUTH_SCHEME=header                        # optional, header|bearer
```

`config/astroway.php` (published from the package) pulls these from `env()`.

Use
---

[](#use)

### Via dependency injection

[](#via-dependency-injection)

```
use Astroway\Astroway;

class ChartController extends Controller
{
    public function __construct(private readonly Astroway $astroway) {}

    public function store(Request $request)
    {
        return response()->json(
            $this->astroway->chart()->compute($request->all()),
        );
    }
}
```

### Via facade

[](#via-facade)

```
use Astroway\Laravel\Facades\Astroway;

return Astroway::chart()->compute(['date' => '1990-01-15', ...]);
```

### Via container alias

[](#via-container-alias)

```
$aw = app('astroway');
$chart = $aw->chart()->compute([...]);
```

Roadmap
-------

[](#roadmap)

- `0.1.0-alpha.x` — ServiceProvider + facade + config publish (current).
- `0.1.0-beta.1` — Telescope integration (every Astroway call visible in Telescope HTTP tab).
- `0.1.0-rc.1` — Artisan commands (`php artisan astroway:health`, `astroway:credits`).
- `0.1.0` — stable surface freeze.

Links
-----

[](#links)

- 📦 Packagist:
- 📦 Core SDK: [`astroway/sdk`](https://packagist.org/packages/astroway/sdk)
- 📘 API docs:

License
-------

[](#license)

MIT — see [`LICENSE`](./LICENSE).

###  Health Score

33

—

LowBetter than 73% of packages

Maintenance94

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

30d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55773ede22bcc10aa58784ba59cfffc8852d2d0fb5c943bde47e4d9cd5bd7a53?d=identicon)[astroway-team](/maintainers/astroway-team)

---

Top Contributors

[![iamxpro](https://avatars.githubusercontent.com/u/18548920?v=4)](https://github.com/iamxpro "iamxpro (2 commits)")

---

Tags

apiastrologyastrowayautodiscoverycompanionfacadehoroscopelaravellaravel-packagenatal-chartpsr-18sdkservice-providersynastryvedic-astrologyapilaravelsdkfacadeastrologyastroway

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[kreait/laravel-firebase

A Laravel package for the Firebase PHP Admin SDK

1.3k18.0M46](/packages/kreait-laravel-firebase)[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[moonshine/moonshine

Laravel administration panel

1.3k239.9k72](/packages/moonshine-moonshine)[resend/resend-laravel

Resend for Laravel

1212.2M8](/packages/resend-resend-laravel)

PHPackages © 2026

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