https://github.com/sitepilot/theme
WordPress starter theme with a modern development workflow.
https://github.com/sitepilot/theme
dependency-injection tailwindcss wordpress wordpress-theme
Last synced: 3 months ago
JSON representation
WordPress starter theme with a modern development workflow.
- Host: GitHub
- URL: https://github.com/sitepilot/theme
- Owner: sitepilot
- License: gpl-3.0
- Created: 2022-03-01T12:35:45.000Z (over 4 years ago)
- Default Branch: 1.x
- Last Pushed: 2022-06-23T11:58:00.000Z (about 4 years ago)
- Last Synced: 2025-08-07T01:21:43.689Z (11 months ago)
- Topics: dependency-injection, tailwindcss, wordpress, wordpress-theme
- Language: PHP
- Homepage: https://sitepilot.io
- Size: 213 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Starter Theme
WordPress starter theme with a modern development workflow.
## Features
* Harness the power of dependency injection thanks to [Sitepilot](https://github.com/sitepilot/sitepilot-plugin)
* Compile theme assets with [Laravel Mix](https://laravel-mix.com)
* Out of the box support for [TailwindCSS](https://tailwindcss.com/)
* Build and deploy theme files with [GitHub Actions](.github/workflows/build.yml)
## Requirements
* [Sitepilot](https://github.com/sitepilot/sitepilot-plugin)
* [PHP](https://www.php.net/manual/en/install.php) >= 7.4
* [Composer](https://getcomposer.org/download/)
* [Node.js](http://nodejs.org/)
## Installation
Install this theme using Composer from your WordPress themes directory (replace `theme-name` below with the name of your theme):
```bash
composer create-project sitepilot/theme
```
_Optional: replace `template: astra` in `style.css` with another theme or remove this line to start from scratch._
## Development
This theme [implements](./functions.php) the application service container provided by our [Sitepilot](https://github.com/sitepilot/sitepilot-plugin/) plugin. The service container is a powerful tool for managing class dependencies, performing dependency injection and registering [service providers](./app/Providers/). More information about the service container and service providers can be found [here](https://github.com/sitepilot/sitepilot-plugin/).