All Projects → Log1x → acf-field-boilerplate

Log1x / acf-field-boilerplate

Licence: MIT license
Modernized PSR-2 boilerplate for creating custom fields for ACF5.

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to acf-field-boilerplate

acf-country
ACF Country field - Display a select field of all countries, in any language.
Stars: ✭ 103 (+90.74%)
Mutual labels:  wordpress-plugin, acf, advanced-custom-fields
acf-swatch
ACF Color Swatch Field
Stars: ✭ 67 (+24.07%)
Mutual labels:  wordpress-plugin, acf, advanced-custom-fields
acf-conditional-logic-advanced
Advanced Custom Fields - Conditional Logic Advanced
Stars: ✭ 31 (-42.59%)
Mutual labels:  acf, advanced-custom-fields, acf-field
acf-typography
A Typography Add-on for the Advanced Custom Fields Plugin
Stars: ✭ 14 (-74.07%)
Mutual labels:  wordpress-plugin, acf, advanced-custom-fields
acf-image-aspect-ratio-crop
Image Aspect Ratio Crop field for Advanced Custom Fields
Stars: ✭ 100 (+85.19%)
Mutual labels:  acf, advanced-custom-fields, acf-field
acf-phone-number
A real ACF phone number field powered by libphonenumber and intl-tel-input
Stars: ✭ 68 (+25.93%)
Mutual labels:  wordpress-plugin, acf, acf-field
bea-beautiful-flexible
Transform ACF's flexible layouts list into a nice and UX popup.
Stars: ✭ 19 (-64.81%)
Mutual labels:  wordpress-plugin, acf
Acf Quickedit Fields
WordPress Plugin implementing Column Displaying, QuickEdit and BulkEdit for Advanced Custom Fields (ACF)
Stars: ✭ 328 (+507.41%)
Mutual labels:  wordpress-plugin, acf
Acf To Rest Api
Exposes Advanced Custom Fields Endpoints in the WordPress REST API
Stars: ✭ 1,152 (+2033.33%)
Mutual labels:  wordpress-plugin, acf
Acf Codifier
A wrapper class to help write more readable ACF field declarations.
Stars: ✭ 114 (+111.11%)
Mutual labels:  wordpress-plugin, acf
Acf Star Rating Field
A simple star rating field for ACF.
Stars: ✭ 94 (+74.07%)
Mutual labels:  wordpress-plugin, acf
Acf Options For Polylang
A WordPress plugin for adding ACF options page support for Polylang.
Stars: ✭ 131 (+142.59%)
Mutual labels:  wordpress-plugin, acf
acf-flexible-content-preview
Transforms ACF's flexible content field's layout list into a modal with image previews.
Stars: ✭ 21 (-61.11%)
Mutual labels:  wordpress-plugin, acf
acf-recaptcha
Google reCAPTCHA plugin for Advanced Custom Fields on WordPress
Stars: ✭ 29 (-46.3%)
Mutual labels:  wordpress-plugin, advanced-custom-fields
acf-field-group-composer
Configuration builder for advanced custom fields field groups
Stars: ✭ 37 (-31.48%)
Mutual labels:  acf, advanced-custom-fields
Fewbricks
Write code to create ACF field groups, fields and re-usable modules.
Stars: ✭ 100 (+85.19%)
Mutual labels:  wordpress-plugin, acf
acf-move-wp-editor
This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
Stars: ✭ 32 (-40.74%)
Mutual labels:  acf, acf-field
flexible-templates
Allows saving templates of the "Flexible Content" field, for easy and fast use of them on other pages.
Stars: ✭ 36 (-33.33%)
Mutual labels:  wordpress-plugin, acf
acf-vimeo-pro-data
Vimeo PRO Data field for Advanced Custom Fields v5
Stars: ✭ 14 (-74.07%)
Mutual labels:  wordpress-plugin, acf-field
pods-beaver-builder-themer-add-on
Integration of Beaver Themer plugin for WordPress (https://pods.io/beaver-themer/)
Stars: ✭ 37 (-31.48%)
Mutual labels:  wordpress-plugin

ACF Field Boilerplate

Latest Stable Version Total Downloads Build Status

This is an ACF Field Type boilerplate to quickly make clean, well structured custom field types.

This is entirely based off of the original acf-field-type-template provided by the creator of ACF.

Features

  • Laravel Mix for handling assets.
  • Support for Admin Columns Pro
  • PSR-12 code style & linting
  • Cleaner DocBlocks
  • Cleaner directory structure
  • Ready to use alongside other Composer packages
  • Attempt at a more DRY approach

Requirements

Make sure all dependencies have been installed before moving on:

Getting Started

Create a project using Composer:

$ composer create-project log1x/acf-field-boilerplate:dev-master my-field

Field development

  • Run yarn install from the field directory to install dependencies.
  • Replace all instances of Log1x/AcfFieldBoilerplate with your namespace.
  • Use src/ExampleField.php to get started.

Build commands

  • yarn run build — Compile and optimize the files in your assets directory
  • yarn run build:production — Compile assets for production

Bug Reports

If you discover a bug in ACF Field Boilerplate, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

ACF Field Boilerplate is provided under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].