{"id":21097386,"url":"https://github.com/godaddy-wordpress/pagely-atomic-client","last_synced_at":"2025-05-16T16:31:25.579Z","repository":{"id":39042553,"uuid":"136216215","full_name":"godaddy-wordpress/pagely-atomic-client","owner":"godaddy-wordpress","description":"PHP Library to access the Pagely atomic APIs","archived":false,"fork":false,"pushed_at":"2024-10-29T21:52:00.000Z","size":145,"stargazers_count":3,"open_issues_count":19,"forks_count":3,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-10-29T22:44:46.392Z","etag":null,"topics":["php-library"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/godaddy-wordpress.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,"publiccode":null,"codemeta":null}},"created_at":"2018-06-05T18:08:13.000Z","updated_at":"2024-09-05T09:47:38.000Z","dependencies_parsed_at":"2022-07-11T20:17:19.652Z","dependency_job_id":"6e3d6e28-e40b-4e6e-86b7-6da99196ab28","html_url":"https://github.com/godaddy-wordpress/pagely-atomic-client","commit_stats":{"total_commits":36,"total_committers":12,"mean_commits":3.0,"dds":0.6111111111111112,"last_synced_commit":"f118a0f861b6dba564a36372da3b431cea9090d9"},"previous_names":["godaddy-wordpress/pagely-atomic-client","pagely/atomic-client"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fpagely-atomic-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fpagely-atomic-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fpagely-atomic-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fpagely-atomic-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy-wordpress","download_url":"https://codeload.github.com/godaddy-wordpress/pagely-atomic-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225438868,"owners_count":17474484,"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":["php-library"],"created_at":"2024-11-19T22:47:35.444Z","updated_at":"2024-11-19T22:47:36.048Z","avatar_url":"https://github.com/godaddy-wordpress.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# atomic-client\nPHP Library to access the Pagely atomic APIs\n\n*Note that PHP 8.1+ is required*\n\n# Installation\n\nInstallation assumes you already have git, PHP 8.1+, and composer installed.\n\n```bash\ngit clone git@github.com:pagely/atomic-client.git\ncd atomic-client/\ncomposer install\n```\n\nOptionally, enable tab-completion and add the `atomic` client to your `$PATH`:\n\n```bash\n./bin/atomic _completion --generate-hook --program atomic \u003e\u003e ~/.bashrc\necho \"PATH=$PWD/bin:\\$PATH\" \u003e\u003e ~/.bashrc\n```\n\n# Using the client\n## Authentication\n\nYou can authenticate either as your Atomic user _or_ with an API client key.\n\n### Authenticating as your Atomic user\n\n```bash\natomic auth:login my@atomic-username.com\n```\n\nThis saves an auth token to `~/.atomiclogin`.\n\n### Authenticating with an API key\n\n```bash\natomic auth:client-login \u003cclientId\u003e \u003cclientSecret\u003e\n```\n\nThis saves a token to `~/.atomicclientlogin`.\n\n---\n\nRegardless of how you authenticate, when you are done you can use the `auth:logout` command or simply remove the `~/.atomiclogin`/`~/.atomicclientlogin` file.\n\n**NOTE:** If both are present, Atomic user tokens take precedence over API client tokens. If you have a user token you need to run `auth:logout` or manually remove the `~/.atomiclogin` file before you can run commands with your API client credentials.\n\n## Commands\n\nExecuting the `atomic` command by itself will show the commands available.\n```bash\natomic\n```\n\nTo get usage help for any command, simply prefix the command name with `help`\n```bash\natomic help auth:login\n```\n\n## Help!\n\n### What is my Account ID?\n1. You can get your account ID by logging into https://atomic.pagely.com and\nlooking at the address in your browser. Your account ID will be the number directly following `/account/` in the address.\n\n2. If you are a collaborator and need the ID for another account, log in to Atomic (link above) and use the account switcher\n(click your name in the upper right) and switch to the account in question. The address in your browser\nwill change to reflect the account ID you are now looking at.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodaddy-wordpress%2Fpagely-atomic-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgodaddy-wordpress%2Fpagely-atomic-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodaddy-wordpress%2Fpagely-atomic-client/lists"}