https://github.com/hex-digital/acf-migrate-export
A tool to turn a PHP ACF Export into a migrations file fit for acf-migrations.phar.
https://github.com/hex-digital/acf-migrate-export
Last synced: 8 months ago
JSON representation
A tool to turn a PHP ACF Export into a migrations file fit for acf-migrations.phar.
- Host: GitHub
- URL: https://github.com/hex-digital/acf-migrate-export
- Owner: hex-digital
- Created: 2018-03-06T11:16:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T17:08:24.000Z (over 8 years ago)
- Last Synced: 2024-12-27T03:12:28.203Z (over 1 year ago)
- Language: PHP
- Size: 79.1 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# acf-migrate-export
A tool to turn a PHP ACF Export into a migrations file fit for use with
[ACF Migrations](https://github.com/hex-digital/acf-migrations).
[](https://travis-ci.org/hex-digital/acf-migrate-export)
## Setup
composer install
## Using
php generate.php -f path/to/export.php [-a | if absolute path]
## Contributing
### Workflow
- **Create an issue for your work**, so all work can be tracked to this issue.
- **Create a branch called `tkt-xx`**, where xx is the issue number.
- **Prefix all commits with `[refs #xx]`**, where xx is the issue number.
- **Check all Unit Tests run successfully.**
- **Submit Pull Request to `develop`**, which is our development branch.
### Testing
Ensure all Unit Tests run before submitting code.
These can be run like so:
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/