Plist to PHP Array Converter
Transform Apple plist files into PHP array literals ready for Laravel or WordPress config.
Convert plist property lists into PHP arrays
When you inherit an iOS Info.plist or macOS defaults file, dropping the values into a Laravel or WordPress config often means rewriting them as a PHP array. Paste plist XML and copy short or long PHP array syntax with an optional variable wrapper.
Need JSON instead? Use the Plist to JSON Converter. Export PHP arrays back to plist with the PHP Array to Plist Converter.
Frequently Asked Questions
Can I choose short [] or long array() syntax?
Yes. Pick the style that matches your codebase before copying the result.
How are plist booleans and numbers emitted?
They become PHP true, false, and numeric literals without quotes when the plist type is integer or real.
Can I omit the $config = wrapper?
Uncheck the wrap option to copy only the array literal, useful inside function returns or nested assignments.