Skip to content
Browse files

Tweaks to README. Did I also forget to commit the krumo bundle last t…

…ime?
  • Loading branch information...
1 parent de37423 commit b586510409f4afc96aae9e8235d5631895168cba @mattlangtree mattlangtree committed Sep 5, 2012
Showing with 55 additions and 2 deletions.
  1. +4 −2 README.md
  2. +51 −0 contributed/Deserialize php with krumo.spBundle/command.plist
View
6 README.md
@@ -15,9 +15,10 @@ We will update the list of contributed bundles on our website as we get time. If
## Latest Updates
-### August 2012
+### September 2012
* We have broken the bundles up into Core and Contributed bundles.
* Integrated bundles from [voxpelli][6] and [liviutudor][7]. Thanks guys!
+ * Bundle from [markcarver][10] added.
### October 2011
* Integrated bundle from [andrewfulton][5], thanks!
@@ -35,4 +36,5 @@ Contact [Sequel Pro][3] on Twitter with any questions.
[6]: https://github.com/voxpelli "Pelle Wessman"
[7]: https://github.com/liviutudor "Liviu Tudor"
[8]: http://sequelpro.com/bundles/share "Share your Bundle"
-[9]: https://github.com/sequelpro/Bundles "Sequel Pro Bundles on github"
+[9]: https://github.com/sequelpro/Bundles "Sequel Pro Bundles on github"
+[10]: https://github.com/markcarver "Mark Carver"
View
51 contributed/Deserialize php with krumo.spBundle/command.plist
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>author</key>
+ <string>Mark Carver</string>
+ <key>category</key>
+ <string>Format</string>
+ <key>command</key>
+ <string>#!/usr/bin/php
+
+&lt;?php
+ $input = fgets(STDIN);
+ if ($unserialized = unserialize($input)) {
+ $input = $unserialized;
+ }
+ include_once $_SERVER['SP_BUNDLE_PATH'] . '/krumo/class.krumo.php';
+ if ((is_object($input) || is_array($input)) &amp;&amp; function_exists('krumo')) {
+ print krumo($input);
+ }
+ else {
+ print '&lt;pre&gt;' . print_r($input, TRUE) . '&lt;/pre&gt;';
+ }
+?&gt;</string>
+ <key>description</key>
+ <string>Deserializes those PHP objects that drupal loves so much. Deserialize PHP with Krumo.</string>
+ <key>input</key>
+ <string>selectedtext</string>
+ <key>input_fallback</key>
+ <string>entirecontent</string>
+ <key>internalKeyEquivalent</key>
+ <dict>
+ <key>characters</key>
+ <string>D</string>
+ <key>keyCode</key>
+ <integer>2</integer>
+ <key>modifierFlags</key>
+ <integer>1179648</integer>
+ </dict>
+ <key>keyEquivalent</key>
+ <string>$@D</string>
+ <key>name</key>
+ <string>Deserialize PHP with Krumo</string>
+ <key>output</key>
+ <string>showashtml</string>
+ <key>scope</key>
+ <string>inputfield</string>
+ <key>uuid</key>
+ <string>8F858F4D-9DCC-488A-B01C-D9F7FA32FE33</string>
+</dict>
+</plist>

0 comments on commit b586510

Please sign in to comment.
Something went wrong with that request. Please try again.