{"id":23879776,"url":"https://github.com/scottyrichardson/grayl","last_synced_at":"2026-06-17T03:31:57.389Z","repository":{"id":268259713,"uuid":"621029507","full_name":"scottyrichardson/grayl","owner":"scottyrichardson","description":"Grayl is as a lightweight modular set of packages to handle several e-commerce website tasks. It can be installed using the Composer package manager. All packages include unit tests for high code coverage.","archived":false,"fork":false,"pushed_at":"2024-12-15T15:29:12.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-13T03:32:54.553Z","etag":null,"topics":["authorizenet","composer-package","framework","grayl","mailchimp","mandrill","minfraud","omnipay","payflow","paypal","php","zendesk","zohocrm"],"latest_commit_sha":null,"homepage":"http://grayl.richardson.is/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottyrichardson.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":"2023-03-29T21:13:31.000Z","updated_at":"2024-12-15T18:36:10.000Z","dependencies_parsed_at":"2024-12-15T16:43:56.838Z","dependency_job_id":null,"html_url":"https://github.com/scottyrichardson/grayl","commit_stats":null,"previous_names":["scottyrichardson/grayl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scottyrichardson/grayl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottyrichardson%2Fgrayl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottyrichardson%2Fgrayl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottyrichardson%2Fgrayl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottyrichardson%2Fgrayl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottyrichardson","download_url":"https://codeload.github.com/scottyrichardson/grayl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottyrichardson%2Fgrayl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34433085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["authorizenet","composer-package","framework","grayl","mailchimp","mandrill","minfraud","omnipay","payflow","paypal","php","zendesk","zohocrm"],"created_at":"2025-01-03T23:35:20.607Z","updated_at":"2026-06-17T03:31:57.370Z","avatar_url":"https://github.com/scottyrichardson.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Grayl - A PHP E-commerce Framework\n\nGrayl is as a lightweight modular set of packages to handle several e-commerce website tasks. It can be installed using the Composer package manager. All packages include unit tests for high code coverage.\n\n## Features\n\n- Uses interfaces and abstract classes in all API gateway classes to enforce conformity.\n- Includes a custom query builder. Build SQL queries from objects and run them as prepared statements to protect against SQL injections.\n- Handles off-site Paypal payments using the Paypal API.\n- Processes on-site credit card payments using the Paypal Payflow API and Authorize.net API.\n- Reduces fraudulent charges using the MinFraud API.\n- Prevents web form abuse with flood-checks and de-duplication packages.\n- Comes with a full store management library including products, discounts, orders, and payments.\n- Communicates with common web services like MailChimp, ZenDesk, ZohoCRM, and Mandrill.\n\n## Packages\n\nEach package has its own repo and individual instructions if needed.\n\n| Package | Description |\n| -- | -- |\n| [grayl-config](https://github.com/scottyrichardson/grayl-config) | Imports configuration files into objects for use in classes. |\n| [grayl-database-main](https://github.com/scottyrichardson/grayl-database-main) | Runs SQL queries against a PDO gateway. |\n| [grayl-database-query](https://github.com/scottyrichardson/grayl-database-query) | Builds select, insert, update, and delete queries using objects. Supports where clauses. Converts query objects into SQL statements ready for use in prepared statements. |\n| [grayl-date](https://github.com/scottyrichardson/grayl-date) | Handles date conversions and calculations. |\n| [grayl-display-navigation](https://github.com/scottyrichardson/grayl-display-navigation) | Builds navigations from objects. Tracks breadcrumbs and next/prev references. |\n| [grayl-file](https://github.com/scottyrichardson/grayl-file) | Creates, reads, and writes to file handlers. |\n| [grayl-gateway-common](https://github.com/scottyrichardson/grayl-gateway-common) | Interfaces and abstract classes used in all Grayl gateway classes. |\n| [grayl-gateway-mailchimp](https://github.com/scottyrichardson/grayl-gateway-mailchimp) | Connects to the MailChimp API. Creates mailing lists. Subscribes users to mailing lists. Updates user fields and information. |\n| [grayl-gateway-mandrill](https://github.com/scottyrichardson/grayl-gateway-mandrill) | Connects to the Mandrill API. Populates an email template with fields. Sends the template as a transactional email. |\n| [grayl-gateway-minfraud](https://github.com/scottyrichardson/grayl-gateway-minfraud) | Connects to the MinFraud API. Builds fraud check from user data and payment information. Determines if the payment is high risk. |\n| [grayl-gateway-pdo](https://github.com/scottyrichardson/grayl-gateway-pdo) | Creates a PDO object for MySQL database queries. Executes queries on the database using prepared statements. |\n| [grayl-gateway-zendesk](https://github.com/scottyrichardson/grayl-gateway-zendesk) | Connects to the ZenDesk API. Creates new users. Updates user fields. |\n| [grayl-gateway-zohocrm](https://github.com/scottyrichardson/grayl-gateway-zohocrm) | Connects to the ZohoCRM API. Creates new contacts. Updates contact fields. Creates notes for contacts. |\n| [grayl-image-thumbnail](https://github.com/scottyrichardson/grayl-image-thumbnail) | Generates different thumbnail sizes from an image. |\n| [grayl-input-duplicator](https://github.com/scottyrichardson/grayl-input-duplicator) | Prevents duplicate web form submissions using keys. |\n| [grayl-input-floodcheck](https://github.com/scottyrichardson/grayl-input-floodcheck) | Prevents web form abuse using time checks and keys. |\n| [grayl-mixin-common](https://github.com/scottyrichardson/grayl-mixin-common) | Miscellaneous mixin classes used in other Grayl packages. |\n| [grayl-omnipay-common](https://github.com/scottyrichardson/grayl-omnipay-common) | Interfaces and abstract classes used in all Grayl Omnipay gateway classes. |\n| [grayl-omnipay-authorizenet](https://github.com/scottyrichardson/grayl-omnipay-authorizenet) | Connects to the Authorize.net API. Authorizes direct credit card payments. Captures direct credit card payments. |\n| [grayl-omnipay-payflow](https://github.com/scottyrichardson/grayl-omnipay-payflow) | Connects to the Paypal Payflow API. Authorizes direct credit card payments. Captures direct credit card payments. |\n| [grayl-omnipay-paypal](https://github.com/scottyrichardson/grayl-omnipay-paypal) | Connects to the Paypal API. Creates links for offsite payment. Handles payment cancellations. |\n| [grayl-store-order](https://github.com/scottyrichardson/grayl-store-order) | Creates orders from products and sales. Tracks applied payments and status. |\n| [grayl-store-product](https://github.com/scottyrichardson/grayl-store-product) | Handles products in the store. Calculates features, quantities, and pricing. |\n| [grayl-store-sale](https://github.com/scottyrichardson/grayl-store-sale) | Handles product sales in the store. Calculates sale discounts. |\n\n## Archived packages\n\n| Package | Description |\n| -- | -- |\n| [grayl-display-content](https://github.com/scottyrichardson/grayl-display-content) | *Archived*: Reads large blocks of content from files into objects. |\n| [grayl-display-template](https://github.com/scottyrichardson/grayl-display-template) | *Archived*: Parses template files. Swaps placeholders with values. |\n| [grayl-input-form](https://github.com/scottyrichardson/grayl-input-form) | *Archived*: Sanitizes different types of form input. |\n| [grayl-utility](https://github.com/scottyrichardson/grayl-utility) | *Archived*: Miscellaneous utility classes used in other Grayl packages. |\n\n## Written by\n\n[Scott Richardson](https://github.com/scottyrichardson)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottyrichardson%2Fgrayl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottyrichardson%2Fgrayl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottyrichardson%2Fgrayl/lists"}