{"id":18310317,"url":"https://github.com/torann/laravel-weather","last_synced_at":"2025-04-05T17:33:29.737Z","repository":{"id":21541450,"uuid":"24860997","full_name":"Torann/laravel-weather","owner":"Torann","description":"Simple weather package for Laravel.","archived":false,"fork":false,"pushed_at":"2017-05-30T13:38:53.000Z","size":109,"stargazers_count":34,"open_issues_count":2,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-21T08:34:53.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lyften.com/projects/laravel-weather","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-06T19:20:07.000Z","updated_at":"2024-12-16T17:49:58.000Z","dependencies_parsed_at":"2022-08-21T17:01:28.449Z","dependency_job_id":null,"html_url":"https://github.com/Torann/laravel-weather","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-weather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-weather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-weather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-weather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torann","download_url":"https://codeload.github.com/Torann/laravel-weather/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247376002,"owners_count":20929165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-05T16:14:05.560Z","updated_at":"2025-04-05T17:33:24.729Z","avatar_url":"https://github.com/Torann.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **NOTICE** This package no longer works as intended, the endpoint it uses no longer exists\n\n# Laravel Weather\n\n[![Latest Stable Version](https://poser.pugx.org/torann/laravel-weather/v/stable.png)](https://packagist.org/packages/torann/laravel-weather) [![Total Downloads](https://poser.pugx.org/torann/laravel-weather/downloads.png)](https://packagist.org/packages/torann/laravel-weather)\n\nJust a simple weather package for Laravel.\n\n----------\n\n## Installation\n\n- [Laravel Weather on Packagist](https://packagist.org/packages/torann/laravel-weather)\n- [Laravel Weather on GitHub](https://github.com/torann/laravel-weather)\n\nTo get the latest version of Laravel Weather simply require it in your `composer.json` file.\n\n~~~\n\"torann/laravel-weather\": \"0.1.*@dev\"\n~~~\n\nYou'll then need to run `composer install` to download it and have the autoloader updated.\n\nOnce installed you need to register the service provider with the application. Open up `app/config/app.php` and find the providers key.\n\n```php\n'providers' =\u003e [\n    'Torann\\LaravelWeather\\ServiceProvider',\n]\n```\n\n\u003e **NOTE:** the is automatically registered during boot.\n\n### Publish package assets:\n\n```\n$ php artisan asset:publish torann/laravel-weather\n```\n\nAdd the following to the page where the Laravel Weather widget script will be active:\n\n```\n{{ HTML::style('/packages/torann/laravel-weather/weather.css') }} \n```\n\nIf using [Duct](https://github.com/torann/asset-duct) add this to the CSS manifest file:\n\n```\n *= require torann/laravel-weather/weather.css\n```\n\n## Rendering\n\nRendering weather by point:\n\n```\nWeather::renderByPoint($lat, $lng)\n```\n\nRendering weather by city name:\n\n```\nWeather::renderByName('Hamden, CT')\n```\n\n## Example\n\nAn live example can be seen on [Snowcrew.org](http://snowcrew.org)\n\n![Example.png](./docs/example.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorann%2Flaravel-weather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorann%2Flaravel-weather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorann%2Flaravel-weather/lists"}