PHPackages                             astroway/sdk-symfony - 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-symfony

ActiveSymfony-bundle[API Development](/categories/api)

astroway/sdk-symfony
====================

Symfony Bundle for astroway/sdk — DI integration, dataclass collector, Astroway service for autowiring.

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

Since May 10Pushed 1mo agoCompare

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

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

astroway/sdk-symfony
====================

[](#astrowaysdk-symfony)

> Official Symfony Bundle for [`astroway/sdk`](https://packagist.org/packages/astroway/sdk) — DI registration, autowireable `Astroway` service, full config via Symfony's standard `astroway.yaml`.

[![Packagist version](https://camo.githubusercontent.com/9901e4706fb995017534af8d9f1b44e0678bb2303d9a9dbcfa41358c2dae1fa0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617374726f7761792f73646b2d73796d666f6e792e7376673f7374796c653d666c617426636f6c6f723d626c7565)](https://packagist.org/packages/astroway/sdk-symfony)

Install
-------

[](#install)

```
composer require astroway/sdk-symfony
```

The bundle auto-registers via Symfony Flex; if you opted out of Flex, add it manually to `config/bundles.php`:

```
return [
    // ...
    Astroway\Symfony\AstrowayBundle::class => ['all' => true],
];
```

Configure
---------

[](#configure)

Create `config/packages/astroway.yaml`:

```
astroway:
    api_key: '%env(ASTROWAY_API_KEY)%'
    base_url: 'https://api.astroway.info/v1'   # optional
    timeout: 30.0                                # optional, seconds
    auth_scheme: header                          # optional, header|bearer
```

Set `ASTROWAY_API_KEY` in `.env.local`.

Use
---

[](#use)

```
use Astroway\Astroway;

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

    #[Route('/chart', methods: ['POST'])]
    public function chart(Request $request): JsonResponse
    {
        $body = json_decode($request->getContent(), true);
        $chart = $this->astroway->chart()->compute($body);
        return new JsonResponse($chart);
    }
}
```

Autowiring works out of the box — the bundle registers `Astroway\Astroway` as a public service.

Roadmap
-------

[](#roadmap)

- `0.1.0-alpha.x` — Bundle + DI registration (current).
- `0.1.0-alpha.2+` — Compiler pass for `astroway.namespace` tagged services (decoration).
- `0.1.0-beta.1` — `AstrowayDataCollector` for Symfony Profiler (Astroway calls visible in `_profiler` debug toolbar).
- `0.1.0-rc.1` — Console commands (`bin/console 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 (1 commits)")

---

Tags

apiastrologyastrowaycompaniondependency-injectionhoroscopehuman-designnatal-chartphpsdkswiss-ephemerissymfonysymfony-bundlesynastrytarotvedic-astrologyapisymfonybundlesdkastrologyastroway

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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