isaac-gros / acf-console
Generate your ACF through a terminal.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/isaac-gros/acf-console
Requires
- php: ^7.2.5
- symfony/console: ^5.0
- symfony/filesystem: ^5.1
- symfony/yaml: ^5.1
This package is auto-updated.
Last update: 2025-10-13 07:44:12 UTC
README
Generate your ACF through a terminal.
Example
php acf.php acf:create:basic Please choose a basic field type. [0] text [1] textarea [2] number [3] email [4] url [5] password > 0 # text is now the field type. Please write the field name. Eg: my_field > background_image # background_image is now the field name. Please write the field title. Eg: My field > Background image # Background image is now the field title. Please write the field instructions. Press enter to skip. > # Ignore the instructions for now. Please write a field prepend. Press enter to skip. > pre # Defined the field prepend as 'pre'. Please write a field append. Press enter to skip. > after # Defined the field append as 'after'. Is the field required? [y/n] > y Congratulations! Your field has been created.
Configuration
You can edit the config.yaml file to define the path to save the generated fields. In this repository the /public path is in the .gitignore for development purposes.