{"id":50358791,"url":"https://github.com/astroway/astroway-php-laravel","last_synced_at":"2026-05-30T00:02:14.951Z","repository":{"id":357020307,"uuid":"1234973190","full_name":"astroway/astroway-php-laravel","owner":"astroway","description":"Official Laravel ServiceProvider + facade for astroway/sdk — auto-discovered, env-driven config, container singleton, Astroway facade. Laravel 10 / 11 / 12, PHP   8.1+.","archived":false,"fork":false,"pushed_at":"2026-05-10T23:21:45.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T01:26:35.241Z","etag":null,"topics":["api","astrology","astroway","autodiscovery","companion","facade","horoscope","laravel","laravel-package","natal-chart","psr-18","sdk","service-provider","synastry","vedic-astrology"],"latest_commit_sha":null,"homepage":"https://api.astroway.info/docs/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astroway.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-10T21:55:32.000Z","updated_at":"2026-05-10T23:24:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/astroway/astroway-php-laravel","commit_stats":null,"previous_names":["astroway/astroway-php-laravel"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/astroway/astroway-php-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astroway%2Fastroway-php-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astroway%2Fastroway-php-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astroway%2Fastroway-php-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astroway%2Fastroway-php-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astroway","download_url":"https://codeload.github.com/astroway/astroway-php-laravel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astroway%2Fastroway-php-laravel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33675019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","astrology","astroway","autodiscovery","companion","facade","horoscope","laravel","laravel-package","natal-chart","psr-18","sdk","service-provider","synastry","vedic-astrology"],"created_at":"2026-05-30T00:02:12.278Z","updated_at":"2026-05-30T00:02:14.942Z","avatar_url":"https://github.com/astroway.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# astroway/sdk-laravel\n\n\u003e Official Laravel ServiceProvider + facade for [`astroway/sdk`](https://packagist.org/packages/astroway/sdk) — auto-discovered, env-driven, container singleton.\n\n[![Packagist version](https://img.shields.io/packagist/v/astroway/sdk-laravel.svg?style=flat\u0026color=blue)](https://packagist.org/packages/astroway/sdk-laravel)\n\n## Install\n\n```bash\ncomposer require astroway/sdk-laravel\nphp artisan vendor:publish --tag=astroway-config\n```\n\nServiceProvider + facade auto-register via `composer.json`'s `extra.laravel.providers` — no edit to `config/app.php` needed.\n\n## Configure\n\n`.env`:\n\n```env\nASTROWAY_API_KEY=aw_live_…\nASTROWAY_BASE_URL=https://api.astroway.info/v1   # optional\nASTROWAY_TIMEOUT=30                                # optional, seconds\nASTROWAY_AUTH_SCHEME=header                        # optional, header|bearer\n```\n\n`config/astroway.php` (published from the package) pulls these from `env()`.\n\n## Use\n\n### Via dependency injection\n\n```php\nuse Astroway\\Astroway;\n\nclass ChartController extends Controller\n{\n    public function __construct(private readonly Astroway $astroway) {}\n\n    public function store(Request $request)\n    {\n        return response()-\u003ejson(\n            $this-\u003eastroway-\u003echart()-\u003ecompute($request-\u003eall()),\n        );\n    }\n}\n```\n\n### Via facade\n\n```php\nuse Astroway\\Laravel\\Facades\\Astroway;\n\nreturn Astroway::chart()-\u003ecompute(['date' =\u003e '1990-01-15', ...]);\n```\n\n### Via container alias\n\n```php\n$aw = app('astroway');\n$chart = $aw-\u003echart()-\u003ecompute([...]);\n```\n\n## Roadmap\n\n- `0.1.0-alpha.x` — ServiceProvider + facade + config publish (current).\n- `0.1.0-beta.1` — Telescope integration (every Astroway call visible in Telescope HTTP tab).\n- `0.1.0-rc.1` — Artisan commands (`php artisan astroway:health`, `astroway:credits`).\n- `0.1.0` — stable surface freeze.\n\n## Links\n\n- 📦 Packagist: \u003chttps://packagist.org/packages/astroway/sdk-laravel\u003e\n- 📦 Core SDK: [`astroway/sdk`](https://packagist.org/packages/astroway/sdk)\n- 📘 API docs: \u003chttps://api.astroway.info/docs/\u003e\n\n## License\n\nMIT — see [`LICENSE`](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastroway%2Fastroway-php-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastroway%2Fastroway-php-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastroway%2Fastroway-php-laravel/lists"}