{"id":14955014,"url":"https://github.com/tonik/wordpress-theme-boilerplate","last_synced_at":"2025-10-24T07:30:42.887Z","repository":{"id":54494193,"uuid":"124216736","full_name":"tonik/wordpress-theme-boilerplate","owner":"tonik","description":"A modern WordPress boilerplate for building standardized themes.","archived":true,"fork":false,"pushed_at":"2021-02-17T12:51:56.000Z","size":292,"stargazers_count":57,"open_issues_count":4,"forks_count":19,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-30T16:52:02.608Z","etag":null,"topics":["wordpress","wordpress-development","wordpress-starter-theme","wordpress-theme"],"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/tonik.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}},"created_at":"2018-03-07T10:06:22.000Z","updated_at":"2024-11-14T16:26:17.000Z","dependencies_parsed_at":"2022-08-13T17:40:48.140Z","dependency_job_id":null,"html_url":"https://github.com/tonik/wordpress-theme-boilerplate","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/tonik%2Fwordpress-theme-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonik%2Fwordpress-theme-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonik%2Fwordpress-theme-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonik%2Fwordpress-theme-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonik","download_url":"https://codeload.github.com/tonik/wordpress-theme-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237932057,"owners_count":19389560,"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":["wordpress","wordpress-development","wordpress-starter-theme","wordpress-theme"],"created_at":"2024-09-24T13:10:23.517Z","updated_at":"2025-10-24T07:30:37.539Z","avatar_url":"https://github.com/tonik.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tonik — Wordpress Theme Boilerplate\n\n\u003e The `develop` branch tracks boilerplate development and it's not a stable code. If you want a stable version, use the [`master`](//github.com/tonik/wordpress-theme-boilerplate/tree/master) branch or one of the latest [releases](//github.com/tonik/wordpress-theme-boilerplate/releases).\n\n### Boilerplate aims to be compatible with a large range of PHP versions, however, still have modern tooling for developing a theme.\n\n What's inside?\n\n- [Gulp](//gulpjs.com/) - Task runner\n- [SASS](//sass-lang.com/) - a CSS preprocessor\n- [Babel](//babeljs.io/) - JavaScript ES6 to ES5 compiler\n- [Rollup](//rollupjs.org/) - a JavaScript Modules Bundler\n- [Stylelint](//stylelint.io/) - a SCSS linter\n- [ESLint](//eslint.org/) - a JavaScript linter\n- [PHP_CodeSniffer](//github.com/squizlabs/PHP_CodeSniffer) - a PHP sniffer\n\nThe front-end builder was borrowed from our [html-frontend-boilerplate](https://github.com/tonik/html-frontend-boilerplate) project.\n\n### Requirements\n\nBoilerplate follows a [WordPress minimal requirements](https://wordpress.org/about/requirements/). Make sure you have these dependences installed before moving on:\n- PHP \u003e= 5.2.4\n\nTheme uses [NPM](//www.npmjs.com/) as a front-end dependency manager. Make sure your development machine has installed following dependencies:\n- [Node.js](//nodejs.org/)\n- [NPM](//www.npmjs.com/)\n\n## Installation\n\nWordPress themes lives in the `wp-content/themes` folder. This is where we have to fetch our fresh starter files.\n\n```bash\n# Go to the `themes` directory of your WordPress installation.\n$ cd wp-content/themes\n```\n\nCreate project via `composer create-project` composer command.\n\n```bash\n$ composer create-project tonik/wordpress-theme-boilerplate \u003ctheme-name\u003e\n```\n\nYou can also directly download or clone the repository to the `wp-content/themes` directory.\n\n```bash\n# Clone repository to the \u003ctheme-name\u003e folder.\n$ git clone -b master git@github.com:tonik/wordpress-theme-boilerplate.git \u003ctheme-name\u003e\n```\n\n## Development\n\nA [Gulp](https://gulpjs.com/) task runner is used to compile and optimize theme's scripts, stylesheets, and images.\n\n#### Resolving front-end dependencies\n\nBefore being able to build theme you have to resolve required dependencies.\n\n```bash\n# @ wp-content/themes/\u003ctheme-name\u003e\n\n# Install node dependencies.\n$ npm install\n```\n\nNow you have all the packages necessary to run the build process and start developing your theme.\n\n#### Building a Theme\n\nThere are a few available commands which help you to build the theme for different environments:\n\n```bash\n# @ wp-content/themes/\u003ctheme-name\u003e\n\n# Compiles unminified and unoptimized theme assets with source maps.\n$ npm run development\n\n# Alias for `development` command.\n$ npm run dev\n\n# Compiles minified and optimized theme assets without source maps.\n$ npm run production\n\n# Alias for `production` command.\n$ npm run prod\n\n# Builds assets for development, runs watcher (recompiles on change)\n# and BroswerSync (refreshes browser).\n$ npm run watch\n```\n\n## Contributing\n\nGreat that you are considering supporting the project. You have a lot of ways to help us grow. We appreciate all contributions, even the smallest.\n\n- Report an issue\n- Propose a feature\n- Send a pull request\n- Star project on the [GitHub](https://github.com/tonik/wordpress-theme-boilerplate)\n- Tell about project around your community\n\n## License\n\nThe Tonik WordPress Theme Boilerplate is licensed under the [MIT license](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonik%2Fwordpress-theme-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonik%2Fwordpress-theme-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonik%2Fwordpress-theme-boilerplate/lists"}