Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/formewp/forme-framework
The Forme core framework - knocking WordPress into shape
https://github.com/formewp/forme-framework
composer forme framework mvc wordpress
Last synced: 2 months ago
JSON representation
The Forme core framework - knocking WordPress into shape
- Host: GitHub
- URL: https://github.com/formewp/forme-framework
- Owner: formewp
- License: mit
- Created: 2021-12-24T16:46:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-11T08:17:09.000Z (3 months ago)
- Last Synced: 2024-10-11T09:28:57.940Z (3 months ago)
- Topics: composer, forme, framework, mvc, wordpress
- Language: PHP
- Homepage: https://formewp.github.io
- Size: 718 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Forme WordPress Framework
Forme is an MVC framework for WordPress. This is the core Forme Framework library, which is used by the Plugin, Theme and CodeGen components.
[Click here for Documentation](https://formewp.github.io)
## Development
For development run `phive install --force-accept-unsigned` followed by `composer install`.
Tools are in `./tools` rather than `./vendor/bin`
You also need [git cliff](https://github.com/orhun/git-cliff) for generating changelogs and [pcov](https://github.com/krakjoe/pcov) to generate coverage stats for infection to measure against.
The useful ones are set up as composer scripts. Tests should run automatically on commit.
```sh
composer test # run pest
composer test:setup # set up WP installation for integration testing
composer stan # run phpstan on src
composer rector:check # rector dry run on src
composer rector:fix # rector on src
composer cs:check # php cs fixer dry run on src
composer cs:fix # php cs fixer on src
composer changelog # run git cliff
composer hooks # install git hooks (will run on composer install automatically)
composer bump:version # bump to the next patch version - can also take argument "minor" or "major"
composer infection # run infection on src
composer infection:log # run infection on src and log to infection.html
```