Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pressgang-wp/pressgang
Modernize your WordPress development and ship your WordPress themes faster than ever. PressGang anchors your workflow in modern development practices. Build cleaner, faster, smarter themes and navigate your development course to calmers seas!
https://github.com/pressgang-wp/pressgang
mvc pressgang timber timber-theme twig wordpress wordpress-development wordpress-theme
Last synced: about 2 months ago
JSON representation
Modernize your WordPress development and ship your WordPress themes faster than ever. PressGang anchors your workflow in modern development practices. Build cleaner, faster, smarter themes and navigate your development course to calmers seas!
- Host: GitHub
- URL: https://github.com/pressgang-wp/pressgang
- Owner: pressgang-wp
- License: mit
- Fork: true (benedict-w/pressgang)
- Created: 2022-01-18T09:06:57.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T10:29:45.000Z (3 months ago)
- Last Synced: 2024-09-26T00:38:39.301Z (about 2 months ago)
- Topics: mvc, pressgang, timber, timber-theme, twig, wordpress, wordpress-development, wordpress-theme
- Language: PHP
- Homepage:
- Size: 5.62 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE.MD
Awesome Lists containing this project
README
# Hijacking Your WordPress Development Workflow
**Ahoy there! Modernize your WordPress development and ship your WordPress themes faster than ever. PressGang anchors your workflow in modern development practices. Build cleaner, faster, smarter themes and navigate your development course to calmers seas.**
https://docs.pressgang.dev/
## Overview
PressGang is a powerful and flexible WordPress parent theme framework designed to streamline theme development and enhance customization capabilities. As a parent theme framework, PressGang serves as a foundation upon which child themes can be built, allowing developers to create custom themes more efficiently while inheriting the robust features and structure of the PressGang parent theme.
### Key Features
1. **Rapid Development:** Engineered for quickly building WordPress themes with clean and modern coding standards, accelerating the development process by providing a solid foundation and tools.
2. **Timber Integration:** Utilizes the [Timber library](https://upstatement.com/timber/), separating template code from PHP logic through the Twig templating engine, resulting in cleaner, more maintainable code.
3. **MVC-inspired Architecture:** Introduces the concept of Controllers to WordPress theme development, expanding on the Model-View-Controller (MVC) approach for better organization and separation of concerns.
4. **Modern PHP Practices:** Emphasizes Configuration over Convention, inspired by frameworks like Laravel, allowing for bootstrapping repetitive WordPress tasks via configuration files, reducing boilerplate code, and increasing developer productivity.
5. **Composer and PSR-4:** Utilizes Composer for dependency management and adheres to PSR-4 coding standards for autoloading, ensuring a consistent and modern code structure.
6. **Flexibility and Customization:** Maintains the core WordPress structure, allowing developers to leverage their existing WordPress knowledge while benefiting from additional features. It provides powerful tools and conventions but remains flexible for direct interaction with WordPress as needed.By leveraging these features, PressGang empowers developers to create sophisticated, performant, and maintainable WordPress themes with greater ease and efficiency.
### Shiver Me Timber: Prerequisites
To chart a course for success with PressGang, it helps to be familiar with these trusty tools:* [Timber](http://upstatement.com/timber/) - Just like a seasoned shipwright uses the best timber, PressGang is built on the Timber library to craft clean, powerful themes.
* [Composer](https://getcomposer.org/) - Manage your dependencies and keep everything shipshape with Composer.
* [Grunt](http://gruntjs.com/) - Ensure plain sailing with task automation.## Getting Started
PressGang is designed as a WordPress _parent theme_ that acts as a library for your [_child theme_](https://codex.wordpress.org/Child_Themes). To get started, you will need to create a child theme.
### Quick Start with PressGang-Child
The fastest way to get up and running is by using our [pressgang-child](https://github.com/pressgang-wp/pressgang-child) repository, which includes a [grunt-init template](http://gruntjs.com/project-scaffolding) for creating a PressGang-ready child theme.
To get started:
1. Clone the pressgang-child repository:
```bash
git clone https://github.com/pressgang-wp/pressgang-child your-theme-name
```2. Navigate into your new theme directory:
```bash
cd your-theme-name
```3. Follow the instructions in the README to set up your environment and start developing your child theme.
### Manual Setup
If you prefer to start from scratch, you can manually set up your PressGang environment.
1. Clone the PressGang repository:
```bash
git clone https://github.com/pressgang-wp/pressgang
```2. Create your own child theme by following the [WordPress guidelines for child themes](https://codex.wordpress.org/Child_Themes).
### Composer Installation
You can also include PressGang as a dependency in your project using Composer.
1. Require the PressGang package via Composer:
```bash
composer require pressgang-wp/pressgang
```2. Create and configure your child theme to extend the PressGang parent theme.
For detailed instructions on setting up and configuring your child theme, refer to the [PressGang documentation](https://github.com/pressgang-wp/pressgang).
## Documentation
Uncover the buried treasure at: https://docs.pressgang.dev/
## License
PressGang is open-sourced software licensed under the [MIT license](LICENSE.md).