{"id":26613674,"url":"https://github.com/kriosmane/hive-os","last_synced_at":"2025-04-10T03:21:59.791Z","repository":{"id":34030281,"uuid":"166025250","full_name":"kriosmane/hive-os","owner":"kriosmane","description":"PHP Package for interacting with Hive OS","archived":false,"fork":false,"pushed_at":"2025-02-27T13:55:29.000Z","size":37,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T00:46:09.845Z","etag":null,"topics":["api","blockchain","crypto-miner","cryptocurrency","cryptocurrency-exchanges","hiveos","laravel","library","package","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kriosmane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-16T11:00:16.000Z","updated_at":"2025-02-27T13:54:53.000Z","dependencies_parsed_at":"2022-08-21T14:50:51.375Z","dependency_job_id":null,"html_url":"https://github.com/kriosmane/hive-os","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fhive-os","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fhive-os/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fhive-os/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fhive-os/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kriosmane","download_url":"https://codeload.github.com/kriosmane/hive-os/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148705,"owners_count":21055638,"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":["api","blockchain","crypto-miner","cryptocurrency","cryptocurrency-exchanges","hiveos","laravel","library","package","php"],"created_at":"2025-03-24T04:36:51.846Z","updated_at":"2025-04-10T03:21:59.762Z","avatar_url":"https://github.com/kriosmane.png","language":"PHP","funding_links":["https://www.buymeacoffee.com/kriosmane"],"categories":[],"sub_categories":[],"readme":"[![Latest Version on Packagist](https://img.shields.io/packagist/v/kriosmane/hive-os.svg?style=flat-square)](https://packagist.org/packages/kriosmane/hive-os)\n[![Total Downloads](https://img.shields.io/packagist/dt/kriosmane/hive-os.svg?style=flat-square)](https://packagist.org/packages/kriosmane/hive-os)\n# HIVE OS API\nPHP Package for interacting with Hive OS a cryptocurrency operating system\n\nMore details about [Hive Os](https://hiveos.farm/)\n\n## Installation\n\n[PHP](https://php.net) 7.3+ and [Composer](https://getcomposer.org) are required.\n\nTo get the latest version of HiveOs api, simply run the code below in your project.\n\n```\ncomposer require kriosmane/hive-os\n```\n## Initial Setup\n\nBefore proceding visit this [link](https://the.hiveos.farm/login) to get your HiveOS Api access token\n\n#### Standalone \nThe first​ step is to initialize the library. Once you do that, You'll get access to all the available API Methods to make requests to HiveOs.\n```php\nuse KriosMane\\HiveOs\\HiveOs;\n\n$access_token = '**********************';\n$hiveOs = new HiveOs($access_token);\n\n```\n#### Laravel\nFirst You need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.\n\n```php\n'providers' =\u003e [\n    ...\n    KriosMane\\HiveOs\\Providers\\HiveOsServiceProvider::class,\n    ...\n]\n```\n\nAlso, register the Facade like so:\n\n```php\n'aliases' =\u003e [\n    ...\n    'HiveOs' =\u003e KriosMane\\HiveOs\\Facades\\HiveOs::class,\n    ...\n]\n```\nYou can publish the configuration file using this command:\n\n```bash\nphp artisan vendor:publish --provider=\"KriosMane\\HiveOs\\Providers\\HiveOs\\ServiceProvider\"\n```\n\nA configuration-file named `hiveos.php` with default settings will be placed in your `config` directory\n\nOpen your .env file and add the following in this format. Ensure you must have gotten your api key:\n\n```php\nHIVEOS_LOGIN=****\nHIVEOS_PASSWORD=*****\nHIVEOS_ACCESS_TOKEN=***********************************************\n```\n\nAdd the following line to your controller\n\n```php\nuse \\HiveOs;\n\nreturn HiveOs::coins();\n```\n\n## Contributing\n\nPlease feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.\n\n## How can I thank you?\nAs a programmer i need coffee to be productive, don't let my [cup](https://www.buymeacoffee.com/kriosmane) get emtpy\n\nWhy not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!\n\n\nThanks!\nKrios Mane\n\n## License\n\nPlease see [License File](LICENSE.md) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriosmane%2Fhive-os","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkriosmane%2Fhive-os","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriosmane%2Fhive-os/lists"}