{"id":19167073,"url":"https://github.com/psmb/psmb.ajaxify","last_synced_at":"2025-05-07T13:40:37.807Z","repository":{"id":20074523,"uuid":"88722317","full_name":"psmb/Psmb.Ajaxify","owner":"psmb","description":"Lazily load any content on your Neos site","archived":false,"fork":false,"pushed_at":"2024-03-26T22:43:19.000Z","size":37,"stargazers_count":13,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T22:35:07.946Z","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/psmb.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":"2017-04-19T08:46:59.000Z","updated_at":"2022-03-28T13:51:17.000Z","dependencies_parsed_at":"2024-11-09T09:46:00.225Z","dependency_job_id":null,"html_url":"https://github.com/psmb/Psmb.Ajaxify","commit_stats":{"total_commits":20,"total_committers":5,"mean_commits":4.0,"dds":0.35,"last_synced_commit":"f1f466766681897f2bd6c4b360b6c179e7cacb67"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psmb%2FPsmb.Ajaxify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psmb%2FPsmb.Ajaxify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psmb%2FPsmb.Ajaxify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psmb%2FPsmb.Ajaxify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psmb","download_url":"https://codeload.github.com/psmb/Psmb.Ajaxify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252888832,"owners_count":21820073,"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-09T09:35:42.359Z","updated_at":"2025-05-07T13:40:37.783Z","avatar_url":"https://github.com/psmb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Psmb.Ajaxify\n\nEnhance your NeosCMS experience with Psmb.Ajaxify, a powerful package that streamlines asynchronous loading of specific page components through AJAX, all with just one line of Fusion code. Why bother? It significantly accelerates the initial page load by deferring the loading of less critical parts, such as comments.\n\n![See it in action](https://cloud.githubusercontent.com/assets/837032/25178402/5b011f40-250e-11e7-9e6c-462b8e912893.gif)\n\n\n## TL;DR\n\n### **Installation**:\n\n```bash\ncomposer require psmb/ajaxify\n```\n\n### Integration:\n\nAdd `@process.myUniqueKey = Psmb.Ajaxify:Ajaxify` to any Fusion path. Ensure that the `myUniqueKey` remains globally unique.\n\nIncorporate the sample AJAX loading script into your Fusion code:\n\n```fusion\nprototype(Neos.Neos:Page).head.ajaxLoader = Psmb.Ajaxify:CssTag\nprototype(Neos.Neos:Page).body.javascripts.ajax = Psmb.Ajaxify:JsTag\n```\n\nAlternatively, integrate these assets via your preferred build tool or craft your custom loader.\n\n### Completion:\n\nDone. Now part of your pages will be lazily loaded via an AJAX request.\n\n**Note**: Ensure that your Fusion component doesn't rely on any context variables apart from the standard ones. If you need to reuse an EEL expression, refrain from embedding it into context. Instead, encapsulate it within a `Neos.Fusion:Value` object for universal usage.\n\n### Customization:\n\nFeel free to override the `Psmb.Ajaxify:Loader` object to tailor the loader according to your requirements.\n\n## Compatibility and Maintenance\n\nThis package is currently being maintained for the following versions:\n\n| Neos Version       | Version | Maintained |\n|--------------------|---------|------------|\n| Neos 7.3 and above | 1.x     | Yes        |\n| Neos 3.3 - 7.2     | 0.4     | No         |\n\n## Contribution\n\nFeel free to tweak and optimize your NeosCMS setup with Psmb.Ajaxify. Streamline your page loads and provide a smoother user experience effortlessly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsmb%2Fpsmb.ajaxify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsmb%2Fpsmb.ajaxify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsmb%2Fpsmb.ajaxify/lists"}