{"id":15515392,"url":"https://github.com/szepeviktor/wordpress-autoloaded","last_synced_at":"2025-04-23T03:19:25.264Z","repository":{"id":41063346,"uuid":"172217446","full_name":"szepeviktor/wordpress-autoloaded","owner":"szepeviktor","description":":keycap_ten:% Faster WordPress :zap: without unconditional class loading + Composer","archived":false,"fork":false,"pushed_at":"2023-04-09T05:37:24.000Z","size":18,"stargazers_count":30,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-23T03:18:52.022Z","etag":null,"topics":["autoloading","composer","performance","wordpress"],"latest_commit_sha":null,"homepage":"https://core.trac.wordpress.org/ticket/36335","language":"Shell","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/szepeviktor.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":"2019-02-23T13:27:03.000Z","updated_at":"2024-10-09T01:08:28.000Z","dependencies_parsed_at":"2024-11-15T21:50:31.659Z","dependency_job_id":"b316d531-5243-4ae4-a05d-1c8db007f33e","html_url":"https://github.com/szepeviktor/wordpress-autoloaded","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"8dab8e6240434c1e337cc7f8a9d0da3112467dcf"},"previous_names":[],"tags_count":5,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-autoloaded","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-autoloaded/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-autoloaded/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-autoloaded/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szepeviktor","download_url":"https://codeload.github.com/szepeviktor/wordpress-autoloaded/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360757,"owners_count":21417777,"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":["autoloading","composer","performance","wordpress"],"created_at":"2024-10-02T10:01:51.024Z","updated_at":"2025-04-23T03:19:25.245Z","avatar_url":"https://github.com/szepeviktor.png","language":"Shell","funding_links":["https://github.com/sponsors/szepeviktor"],"categories":[],"sub_categories":[],"readme":"# WordPress Autoloaded\n\nA boilerplate to start a fast WordPress website\nwithout unconditional class loading using Composer autoloader.\n\nCore is downloaded from the [official ZIP](https://wordpress.org/download/releases/)\nand unconditional class loading is commented out.\n\n:bulb: Please also see [szepeviktor/composer-managed-wordpress](https://github.com/szepeviktor/composer-managed-wordpress)\n\n## Support my work\n\nPlease consider sponsoring me monthly if you use my packages in an agency.\n\n[![Sponsor](https://github.com/szepeviktor/.github/raw/master/.github/assets/github-like-sponsor-button.svg)](https://github.com/sponsors/szepeviktor)\n\n## Usage\n\n- Clone [this repository](https://github.com/szepeviktor/wordpress-autoloaded)\n- Optionally use `johnpbloch/wordpress` package instead of the included official ZIP,\n  see `composer.json` in examples/johnpbloch-wordpress/ directory\n- Add plugins e.g. `composer require wpackagist-plugin/wordpress-seo`\n- Add your theme\n- Prefer class autoloading in theme and plugins,\n  simply add the following to composer.json\n\n```json\n    \"autoload\": {\n        \"psr-4\": {\n            \"MyNamespace\\\\\": \"inc/\"\n        }\n    },\n    \"config\": {\n        \"classmap-authoritative\": true\n    }\n```\n\n## Configuring WordPress\n\nAdd Composer autoloader to `app/wp-config.php`\n\n```php\nrequire_once dirname(__DIR__) . '/vendor/autoload.php';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fwordpress-autoloaded","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszepeviktor%2Fwordpress-autoloaded","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fwordpress-autoloaded/lists"}