https://github.com/basemax/php-prettier-precommit
You can create a new repository by using this template, so by the way all of your PHP projects will have a nice and good pre-commit and prettier config.
https://github.com/basemax/php-prettier-precommit
php pre-commit pre-commit-hook prettier prettier-config prettifier repository-template repository-templates template
Last synced: 2 months ago
JSON representation
You can create a new repository by using this template, so by the way all of your PHP projects will have a nice and good pre-commit and prettier config.
- Host: GitHub
- URL: https://github.com/basemax/php-prettier-precommit
- Owner: BaseMax
- License: gpl-3.0
- Created: 2021-07-16T22:32:22.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-17T13:38:28.000Z (about 4 years ago)
- Last Synced: 2025-07-30T08:29:44.402Z (2 months ago)
- Topics: php, pre-commit, pre-commit-hook, prettier, prettier-config, prettifier, repository-template, repository-templates, template
- Homepage:
- Size: 30.3 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Template: PHP Prettier & Pre-Commit
### How to use?
[](https://github.com/prettier/prettier)
You can create a new repository by using this template, so by the way all of your PHP projects will have a nice and good pre-commit and prettier config.
### How to run and check?
Installing:
```
pip install pre-commit
or
curl https://pre-commit.com/install-local.py | python -
or
brew install pre-commit
or
conda install -c conda-forge pre-commit
```And run:
```
pre-commit run --all-files
```#### What is Pre-Commit?
A framework for managing and maintaining multi-language pre-commit hooks.
https://pre-commit.com/
#### What is Prettier?
Prettier is an opinionated code formatter.
> JavaScript · TypeScript · Flow · JSX · JSON
CSS · SCSS · Less
HTML · Vue · Angular
GraphQL · Markdown · YAMLhttps://prettier.io/
https://github.com/prettier/prettier
#### What is StyleCI?
StyleCI is a continuous integration tool for your PHP, Python, JavaScript and CSS, JavaScript, Vue and Python developers which makes it super easy to ensure ...
https://styleci.io/