Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/log1x/acf-fluent-helpers
Simple set of helper functions for ACF Fluent auto-loaded with Composer using generic function names.
https://github.com/log1x/acf-fluent-helpers
acf acf-field acf-fluent advanced-custom-fields wordpress
Last synced: 3 months ago
JSON representation
Simple set of helper functions for ACF Fluent auto-loaded with Composer using generic function names.
- Host: GitHub
- URL: https://github.com/log1x/acf-fluent-helpers
- Owner: Log1x
- License: mit
- Created: 2017-08-23T01:16:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T05:28:33.000Z (over 5 years ago)
- Last Synced: 2024-11-02T06:23:41.331Z (3 months ago)
- Topics: acf, acf-field, acf-fluent, advanced-custom-fields, wordpress
- Language: PHP
- Homepage: https://github.com/Log1x/acf-fluent-helpers
- Size: 4.88 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ACF Fluent Helpers
![Latest Stable Version](https://img.shields.io/packagist/v/log1x/acf-fluent-helpers?style=flat-square)
![Total Downloads](https://img.shields.io/packagist/dt/log1x/acf-fluent-helpers?style=flat-square)This is a simple set of helper functions for [ACF Fluent](https://github.com/samrap/acf-fluent) similar to the [`helpers.php`](https://github.com/samrap/acf-fluent/blob/master/src/helpers.php) shipped with ACF Fluent, but is auto-loaded by Composer instead of having to be manually included.
It also uses really generic function names because I'm naughty. :wink:
## Requirements
Make sure all dependencies have been installed before moving on:
- [PHP](https://secure.php.net/manual/en/install.php) >= 7.0
- [Composer](https://getcomposer.org/download/)
- [ACF Fluent](https://github.com/samrap/acf-fluent)## Installation
Install via Composer:
```bash
$ composer require log1x/acf-fluent-helpers:dev-master
```## Usage
```php
$field = field('example')->get();
$subfield = sub('example')->get();
$option = option('example')->get();
```## Bug Reports
If you discover a bug in ACF Fluent Helpers, please [open an issue](https://github.com/log1x/acf-fluent-helpers/issues).
## Contributing
Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.
## License
ACF Fluent Helpers is provided under the [MIT License](https://github.com/log1x/acf-fluent-helpers/blob/master/LICENSE.md).