{"id":20875721,"url":"https://github.com/octobercms/ajax","last_synced_at":"2025-05-12T15:31:40.902Z","repository":{"id":37713884,"uuid":"500630453","full_name":"octobercms/ajax","owner":"octobercms","description":"AJAX Framework for October CMS","archived":false,"fork":false,"pushed_at":"2025-04-19T03:30:19.000Z","size":1664,"stargazers_count":22,"open_issues_count":1,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-19T11:49:27.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/octobercms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-06-07T00:02:52.000Z","updated_at":"2025-03-21T23:25:28.000Z","dependencies_parsed_at":"2022-08-09T09:15:39.045Z","dependency_job_id":"0dc5d9d3-2cf5-4a2f-9370-2991ebb60a34","html_url":"https://github.com/octobercms/ajax","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Fajax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Fajax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Fajax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octobercms%2Fajax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octobercms","download_url":"https://codeload.github.com/octobercms/ajax/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253765902,"owners_count":21960816,"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-18T06:48:05.211Z","updated_at":"2025-05-12T15:31:40.171Z","avatar_url":"https://github.com/octobercms.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# October AJAX Framework\n\nThis repository contains the AJAX framework of October CMS. If you want to build a website using October CMS, visit the main [October CMS repository](http://github.com/octobercms/october).\n\n## Installation outside October CMS\n\nYour application can use the `octobercms` npm package to install the AJAX Framework as a module for build tools like webpack.\n\n1. Add the `octobercms` package to your application.\n\n```js\nnpm install --save octobercms\n```\n\n2. Require and start the Framework in your JavaScript bundle.\n\n```js\nimport oc from 'octobercms';\n\n// Make an AJAX request\noc.ajax('onSomething', { data: someVar });\n\n// Serialize an element with the request\noc.request('.some-element', 'onSomething', { data: someVar });\n```\n\n### jQuery Adapter\n\nIf jQuery is found, the traditional API can also be used.\n\n```js\n// AJAX request with jQuery\n$.request('onSomething', { data: someVar });\n\n// Serialized request with jQuery\n$('.some-element').request('onSomething', { data: someVar });\n```\n\n## Documentation\n\n[Read the complete documentation](https://docs.octobercms.com/3.x/cms/ajax/introduction.html) on the October CMS website.\n\n## License\n\nThe October CMS platform is licensed software, see [End User License Agreement](./LICENSE.md) (EULA) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctobercms%2Fajax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctobercms%2Fajax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctobercms%2Fajax/lists"}