{"id":18907588,"url":"https://github.com/tomodomoco/wp-asset-registrar","last_synced_at":"2026-05-19T09:04:55.359Z","repository":{"id":142761244,"uuid":"152328132","full_name":"TomodomoCo/wp-asset-registrar","owner":"TomodomoCo","description":"Slightly more intuitive asset registration API for WordPress","archived":false,"fork":false,"pushed_at":"2018-11-13T13:57:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T11:56:38.082Z","etag":null,"topics":["library","php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/TomodomoCo.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":"2018-10-09T22:12:41.000Z","updated_at":"2018-11-13T13:57:18.000Z","dependencies_parsed_at":"2023-03-15T01:05:27.467Z","dependency_job_id":null,"html_url":"https://github.com/TomodomoCo/wp-asset-registrar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-asset-registrar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-asset-registrar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-asset-registrar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-asset-registrar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomodomoCo","download_url":"https://codeload.github.com/TomodomoCo/wp-asset-registrar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239891242,"owners_count":19714097,"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":["library","php","wordpress"],"created_at":"2024-11-08T09:22:18.911Z","updated_at":"2026-05-19T09:04:50.332Z","avatar_url":"https://github.com/TomodomoCo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Asset Registrar\n\nWP Asset Registrar is a simple library that makes the process of registering and enqueueing assets in WordPress slightly more intuitive.\n\n## Usage\n\n```php\n\u003c?php\n\nuse Tomodomo\\WpAssetRegistrar\\Registrar;\n\n$registrar = new Registrar();\n\nadd_action('wp_enqueue_scripts', function () use ($registrar) {\n    $registrar-\u003eaddScript('my-js-libs', '/assets/js/script.js', [\n        'dependencies' =\u003e [\n            'jquery',\n        ],\n    ]);\n\n    $registrar-\u003eaddScript('my-js', '/assets/js/script.js', [\n        'dependencies' =\u003e [\n            'my-js-libs',\n        ],\n    ]);\n\n    $registrar-\u003eaddStyle('my-css', '/assets/css/style.css');\n});\n\nadd_action('wp_enqueue_scripts', [$registrar, 'enqueueScripts']);\nadd_action('wp_enqueue_scripts', [$registrar, 'enqueueStyles']);\n```\n\n## About Tomodomo\n\nTomodomo is a creative agency for magazine publishers. We use custom design and technology to speed up your editorial workflow, engage your readers, and build sustainable subscription revenue for your business.\n\nLearn more at [tomodomo.co](https://tomodomo.co) or email us: [hello@tomodomo.co](mailto:hello@tomodomo.co)\n\n## License \u0026 Conduct\n\nThis project is licensed under the terms of the MIT License, included in `LICENSE.md`.\n\nAll open source Tomodomo projects follow a strict code of conduct, included in `CODEOFCONDUCT.md`. We ask that all contributors adhere to the standards and guidelines in that document.\n\nThank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomodomoco%2Fwp-asset-registrar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomodomoco%2Fwp-asset-registrar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomodomoco%2Fwp-asset-registrar/lists"}