{"id":36399383,"url":"https://github.com/rapidez/customer-pricing","last_synced_at":"2026-01-11T16:02:13.727Z","repository":{"id":257764449,"uuid":"858681340","full_name":"rapidez/customer-pricing","owner":"rapidez","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-03T12:40:19.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-03T23:11:22.569Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rapidez.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-17T10:52:54.000Z","updated_at":"2025-10-03T12:40:23.000Z","dependencies_parsed_at":"2024-09-18T15:22:00.521Z","dependency_job_id":"ab9e21c4-0bb6-46cd-a671-42b4053d9731","html_url":"https://github.com/rapidez/customer-pricing","commit_stats":null,"previous_names":["rapidez/customer-pricing"],"tags_count":2,"template":false,"template_full_name":"rapidez/package-template","purl":"pkg:github/rapidez/customer-pricing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidez%2Fcustomer-pricing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidez%2Fcustomer-pricing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidez%2Fcustomer-pricing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidez%2Fcustomer-pricing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapidez","download_url":"https://codeload.github.com/rapidez/customer-pricing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapidez%2Fcustomer-pricing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28312149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-11T16:02:13.564Z","updated_at":"2026-01-11T16:02:13.706Z","avatar_url":"https://github.com/rapidez.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rapidez Customer Pricing\n\nThis package adds Rapidez support for the [justbetter/magento2-customer-pricing magento extension](https://github.com/justbetter/magento2-customer-pricing). **This package will not work without this extension.**\n\n## Installation\n\n```\ncomposer require rapidez/customer-pricing\n```\n\n## Usage\n\nThis adds to the Product model:\n- A `customerPricing` relation that retrieves all customer prices and tiers for the given product\n- The `customerPrice(int $customerId, int $quantity = 1)` function which returns a customer price at the given tier, or null when none is found.\n- The `customerTierPrices(int $customerId)` function which returns all of the tier prices for a given customer (if any).\n\nThis package also adds a simple frontend implementation that can be used by adding the `customer-price` component onto your page. For example:\n\n```blade\n\u003ccustomer-price\n    v-bind:product-id=\"addToCart.simpleProduct.entity_id\"\n    v-bind:quantity=\"addToCart.qty\"\n    v-slot=\"{ customerPrice }\"\n\u003e\n    \u003cspan\u003e@{{ customerPrice || addToCart.price }}\u003c/span\u003e\n\u003c/customer-price\u003e\n```\n\nRequests made for this component get bundled together (collected over 100ms), allowing this to be used the same way in product listings.\n\n## License\n\nGNU General Public License v3. Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapidez%2Fcustomer-pricing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapidez%2Fcustomer-pricing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapidez%2Fcustomer-pricing/lists"}