{"id":20521000,"url":"https://github.com/markjivko/enjin-php-sdk","last_synced_at":"2025-10-13T13:08:02.375Z","repository":{"id":229041169,"uuid":"439396181","full_name":"markjivko/enjin-php-sdk","owner":"markjivko","description":"Enjin Platform SDK for PHP","archived":false,"fork":false,"pushed_at":"2022-01-29T12:08:56.000Z","size":88,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T13:07:17.057Z","etag":null,"topics":["blockchain","blockchain-sdk","enjin-platform","enjin-sdk","markjivko","nft","nfts","non-fungible-tokens","php","sdk","sdk-php"],"latest_commit_sha":null,"homepage":"https://enjin.io/products/platform","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markjivko.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-12-17T16:34:48.000Z","updated_at":"2022-02-15T19:42:12.000Z","dependencies_parsed_at":"2024-03-21T19:05:34.258Z","dependency_job_id":null,"html_url":"https://github.com/markjivko/enjin-php-sdk","commit_stats":null,"previous_names":["markjivko/enjin-php-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markjivko/enjin-php-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fenjin-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fenjin-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fenjin-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fenjin-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markjivko","download_url":"https://codeload.github.com/markjivko/enjin-php-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fenjin-php-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015279,"owners_count":26085683,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["blockchain","blockchain-sdk","enjin-platform","enjin-sdk","markjivko","nft","nfts","non-fungible-tokens","php","sdk","sdk-php"],"created_at":"2024-11-15T22:25:13.111Z","updated_at":"2025-10-13T13:08:02.358Z","avatar_url":"https://github.com/markjivko.png","language":"PHP","readme":"# Blockchain SDK by Enjin for PHP\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://enjin.io/\"\u003e\n        \u003cimg src=\"https://repository-images.githubusercontent.com/439396181/838770f8-8fbf-4a77-bcc9-6142eb2b8413\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nCreate blockchain applications using the PHP programming language.\n\n[Learn more](https://enjin.io/) about the Enjin blockchain platform.\n\nSign up to Enjin Cloud: [Kovan (Testnet)](https://kovan.cloud.enjin.io/),\n[Mainnet (Production)](https://cloud.enjin.io/) or [JumpNet](https://jumpnet.cloud.enjin.io/).\n\nThis is a port from the official [Java](https://github.com/enjin/enjin-java-sdk)/[C#](https://github.com/enjin/enjin-csharp-sdk) SDKs with no support for async tasks and events (by design).\n\n### Resources\n\n* [Enjin Docs](https://docs.enjin.io)\n\n### Table of Contents\n\n* [Compatibility](#compatibility)\n* [Installation](#installation)\n* [Quick Start](#quick-start)\n* [Contributing](#contributing)\n    * [Issues](#issues)\n    * [Pull Requests](#pull-requests)\n* [Copyright and Licensing](#copyright-and-licensing)\n\n## Compatibility\n\nThe Enjin PHP SDK requires at a minimum PHP7.\n\n## Installation\n\nSimply clone this Git repository and use a PSR-4 Autoloader.\n\n## Quick Start\n\nThis example showcases how to quickly create and authenticate a client on the project schema which will then allow us to\nmake further requests to the platform.\n\n```php\n// Enjin Platform SDK for PHP\nuse Enjin\\Sdk\\EnjinHosts;\nuse Enjin\\Sdk\\ProjectClient;\nuse Enjin\\Sdk\\GraphQL\\Request\\Project;\nuse Enjin\\Sdk\\GraphQL\\Request\\Shared;\n\n// Get the project client\n$projectClient = new ProjectClient(EnjinHosts::KOVAN);\n\n// Authenticate project\n$accessToken = $projectClient-\u003eauthProject(\n    (new Project\\Query\\AuthProject())\n        -\u003esetUuid('00000000-0000-0000-0000-000000000000')\n        -\u003esetSecret('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')\n);\n\n// Store the authentication token\nif (null !== $accessToken) {\n    echo 'Client is now authenticated' . PHP_EOL;\n    $projectClient-\u003eauth($accessToken-\u003egetToken());\n    \n    // Get gas prices\n    $gasPrices = $projectClient-\u003egetGasPrices(new Shared\\Query\\GetGasPrices());\n}\n```\n\n## Contributing\n\nContributions to the SDK are appreciated!\n\n### Issues\n\nYou can open issues for bugs and enhancement requests.\n\n### Pull Requests\n\nIf you make any changes or improvements to the SDK, which you believe are beneficial to others, consider making a pull\nrequest to merge your changes to be included in the next release.\n\nBe sure to include your name in the list of contributors.\n\n## Copyright and Licensing\n\nThe license summary below may be copied.\n\n```text\nCopyright 2021 Enjin Pte. Ltd.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjivko%2Fenjin-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkjivko%2Fenjin-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjivko%2Fenjin-php-sdk/lists"}