PHP library to build valid Auto-Lead Data Format ADF/XML leads.

Install

Include SendADF in your project with Composer:

$ composer require carmelosantana/sendadf

Requirements:

Supports

Features

  • Complete ADF implementation
  • Validate tags and attributes (optional)
  • Custom tags and attributes
  • Data entry via an associative array, object, or JSON
  • Attempts to convert dates to ISO 8601:1988
  • Default attributes for name, phone, prospect, and vehicle

Examples

  1. Bare minimum to get started
  2. Full document with all elements and attribute examples
  3. Avoid default values + Manually open and close nodes
  4. Disable validation + Custom tags and attributes
  5. Data entry via arrays, objects and JSON

License

The code is licensed MIT and the documentation is licensed CC BY-SA 4.0.

Funding

SendADF is community funded. If you use SendADF in a commercial environment, please consider donating today with one of the following options.

PayPal
• Bitcoin bc1qhxu9yf9g5jkazy6h4ux6c2apakfr90g2rkwu45
• Ethereum 0x9f5D6dd018758891668BF2AC547D38515140460f