{"id":46156425,"url":"https://github.com/onbirdev/moodle-enrol_cart","last_synced_at":"2026-03-02T10:02:27.696Z","repository":{"id":255149611,"uuid":"848285354","full_name":"onbirdev/moodle-enrol_cart","owner":"onbirdev","description":"Shopping Cart Enrolment Plugin for Moodle","archived":false,"fork":false,"pushed_at":"2025-12-02T11:49:37.000Z","size":338,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-04T10:33:50.574Z","etag":null,"topics":["cart","enrollment","lms","moodle","moodle-cart","moodle-enrol","moodle-lms","moodle-plugin","moodle-plugins","php","shopping-cart"],"latest_commit_sha":null,"homepage":"https://moodle.org/plugins/enrol_cart","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/onbirdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"custom":["https://ko-fi.com/onbirdev"]}},"created_at":"2024-08-27T13:37:27.000Z","updated_at":"2025-12-02T11:49:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a368218-cb6a-474a-a19d-e1573865d4e5","html_url":"https://github.com/onbirdev/moodle-enrol_cart","commit_stats":null,"previous_names":["onbirdev/moodle-enrol_cart"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/onbirdev/moodle-enrol_cart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbirdev%2Fmoodle-enrol_cart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbirdev%2Fmoodle-enrol_cart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbirdev%2Fmoodle-enrol_cart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbirdev%2Fmoodle-enrol_cart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onbirdev","download_url":"https://codeload.github.com/onbirdev/moodle-enrol_cart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbirdev%2Fmoodle-enrol_cart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","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":["cart","enrollment","lms","moodle","moodle-cart","moodle-enrol","moodle-lms","moodle-plugin","moodle-plugins","php","shopping-cart"],"created_at":"2026-03-02T10:02:26.670Z","updated_at":"2026-03-02T10:02:27.682Z","avatar_url":"https://github.com/onbirdev.png","language":"PHP","funding_links":["https://ko-fi.com/onbirdev","https://www.paypal.me/onbirdev"],"categories":[],"sub_categories":[],"readme":"# Moodle Shopping Cart\n\nThis plugin adds a complete shopping cart system to Moodle by introducing a new \"Cart\" enrolment method.\nUsers can add courses to their cart and proceed to payment using any of the supported Moodle payment gateways\n\nUsers can access their shopping cart from the cart icon in the top navigation bar and view their purchase history via the \"My Purchases\" option in the user menu.\nCourses can also be added to the cart before logging in — the cart data is stored in a cookie and automatically transferred to the database upon login, allowing users to proceed with payment seamlessly.\n\nThis plugin allows administrators to define a fixed discount amount or a percentage discount for each course.\nAdditionally, it supports the use of coupon codes during checkout by implementing the `enrol_cart\\local\\object\\coupon_interface` interface and configuring the `coupon_class` in the cart enrollment settings.\n\nAn example implementation (`enrol_cart\\local\\object\\coupon_example` class) is included in the plugin to demonstrate how to build your own coupon logic.\n\n## Requirements\n1. Moodle version 3.11 or later\n2. PHP 7.4 or later\n\n\n## Translations available\n-   English (en)\n-   Persian (fa)\n-   Spanish (es)\n-   French (fr)\n-   German (de)\n-   Russian (ru)\n-   Chinese (zh_cn)\n-   Brazilian Portuguese (pt_br)\n-   Turkish (tr)\n-   Arabic (ar)\n\n\n## Installation\n1. Download latest release \".zip\" file.\n2. Install from \"Site administration \u003e Plugins \u003e Install plugins\".\n3. Visit the \"Site Administration \u003e Plugins \u003e Enrolments\" page.\n4. Click the eye symbol next to \"Cart\" to enable the plugin.\n\n\u003e During installation, you’ll need to configure the **Payment Account** and **Currency** settings.\n\u003e You can always update these settings later by navigating to:\n\u003e **Site Administration \u003e Plugins \u003e Enrolments \u003e Cart**\n\n\n## License\nReleased Under the GNU http://www.gnu.org/copyleft/gpl.html\n\n\n## 💖 Support the development of this plugin\n\nKeep it updated and free for everyone!\n\n[☕ Buy Me a Coffee (Ko-fi)](https://ko-fi.com/onbirdev) | [💸 Support via PayPal](https://www.paypal.me/onbirdev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonbirdev%2Fmoodle-enrol_cart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonbirdev%2Fmoodle-enrol_cart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonbirdev%2Fmoodle-enrol_cart/lists"}