{"id":18973705,"url":"https://github.com/64robots/products-api-accessor","last_synced_at":"2026-04-08T00:30:19.233Z","repository":{"id":56938508,"uuid":"236756779","full_name":"64robots/products-api-accessor","owner":"64robots","description":"This package is a command that will generate the access-token for a product-api project. ","archived":false,"fork":false,"pushed_at":"2020-01-28T17:22:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T12:29:56.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/64robots.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":"2020-01-28T14:39:27.000Z","updated_at":"2020-01-28T17:18:50.000Z","dependencies_parsed_at":"2022-08-21T01:40:29.246Z","dependency_job_id":null,"html_url":"https://github.com/64robots/products-api-accessor","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/64robots%2Fproducts-api-accessor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64robots%2Fproducts-api-accessor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64robots%2Fproducts-api-accessor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64robots%2Fproducts-api-accessor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/64robots","download_url":"https://codeload.github.com/64robots/products-api-accessor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239970677,"owners_count":19727014,"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-08T15:12:52.257Z","updated_at":"2026-04-08T00:30:19.183Z","avatar_url":"https://github.com/64robots.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"A command to generate the access-tokens for a product-api project.\n===================================================================\n\nThis package is a command that will generate the access-token for a product-api project.\n\n## Installation and setup\n\nTo get the latest version, simply require the package using [Composer](https://getcomposer.org):\n\n```bash\n$ composer require 64robots/products-api-accessor\n```\n\nOnce installed, this package will automatically register its service provider.\n\nPublish the config file to `config/products.php` run:\n\n```bash\n$ php artisan vendor:publish --provider=\"R64\\ProductsApiAccessor\\AccessorServiceProvider\" --tag=\"config\"\n```\n\n## Usage\n- Use passport's command `php artisan passport:client` to generate new Client ID and Client Secret from [Products api](https://gitlab.com/64robots/products-api). Copy the Client ID and Client Secret and set it in your .env like so;\n\n```\nPRODUCTS_API_BASE_URI=http://url-to-products-api\nPRODUCTS_API_CLIENT_ID=x\nPRODUCTS_API_CLIENT_SECRET=xxxx\n```\n\n- Ran the command `php artisan generate:products-api-access-token` to generate access token. The token will be automatically set in the .env.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64robots%2Fproducts-api-accessor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F64robots%2Fproducts-api-accessor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64robots%2Fproducts-api-accessor/lists"}