https://github.com/form8ion/php
PHP language plugin for the form8ion tool suite
https://github.com/form8ion/php
Last synced: about 2 months ago
JSON representation
PHP language plugin for the form8ion tool suite
- Host: GitHub
- URL: https://github.com/form8ion/php
- Owner: form8ion
- License: mit
- Created: 2025-01-09T03:06:15.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-06-09T19:42:36.000Z (about 2 months ago)
- Last Synced: 2026-06-09T21:21:16.795Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://npm.im/@form8ion/php
- Size: 1.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - php
README
# php
[PHP](https://www.php.net/) language plugin for the form8ion tool suite
[![Node CI Workflow Status][github-actions-ci-badge]][github-actions-ci-link]
[![Codecov][coverage-badge]][coverage-link]
![SLSA Level 2][slsa-badge]
## Table of Contents
* [Usage](#usage)
* [Installation](#installation)
* [Example](#example)
* [Import](#import)
* [Execute](#execute)
* [Contributing](#contributing)
* [Dependencies](#dependencies)
* [Verification](#verification)
## Usage
[![npm][npm-badge]][npm-link]
[![Try @form8ion/php on RunKit][runkit-badge]][runkit-link]
[![license][license-badge]][license-link]
![node][node-badge]
### Installation
```sh
$ npm install @form8ion/php --save-prod
```
### Example
#### Import
#### Execute
```javascript
const {scaffold, test, lift} = await import('@form8ion/php');
const projectRoot = process.cwd();
await scaffold({
projectRoot,
projectName: 'name-of-the-project',
description: 'A short summary of the project'
});
if (await test({projectRoot})) {
await lift({
projectRoot,
results: {
dependencies: {
php: {
production: ['smarty/smarty'],
development: ['phpunit/phpunit']
}
}
}
});
}
```
## Contributing
[![Commitizen friendly][commitizen-badge]][commitizen-link]
[![Conventional Commits][commit-convention-badge]][commit-convention-link]
[![semantic-release: angular][semantic-release-badge]][semantic-release-link]
[![Renovate][renovate-badge]][renovate-link]
[![PRs Welcome][PRs-badge]][PRs-link]
### Dependencies
```sh
$ nvm install
$ npm install
```
### Verification
```sh
$ npm test
```
[github-actions-ci-link]: https://github.com/form8ion/php/actions?query=workflow%3A%22Node.js+CI%22+branch%3Amaster
[github-actions-ci-badge]: https://img.shields.io/github/actions/workflow/status/form8ion/php/node-ci.yml.svg?branch=master&logo=github
[coverage-link]: https://codecov.io/github/form8ion/php
[coverage-badge]: https://img.shields.io/codecov/c/github/form8ion/php?logo=codecov
[slsa-badge]: https://slsa.dev/images/gh-badge-level2.svg
[commitizen-link]: http://commitizen.github.io/cz-cli/
[commitizen-badge]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
[commit-convention-link]: https://conventionalcommits.org
[commit-convention-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
[semantic-release-link]: https://github.com/semantic-release/semantic-release
[semantic-release-badge]: https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release
[renovate-link]: https://renovatebot.com
[renovate-badge]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg?logo=renovatebot
[PRs-link]: https://makeapullrequest.com
[PRs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
[npm-link]: https://www.npmjs.com/package/@form8ion/php
[npm-badge]: https://img.shields.io/npm/v/@form8ion/php?logo=npm
[runkit-link]: https://npm.runkit.com/@form8ion/php
[runkit-badge]: https://badge.runkitcdn.com/@form8ion/php.svg
[license-link]: LICENSE
[license-badge]: https://img.shields.io/github/license/form8ion/php.svg?logo=opensourceinitiative
[node-badge]: https://img.shields.io/node/v/@form8ion/php?logo=node.js