Official Espresso php.sugar
Objective-C PHP
Pull request Compare This branch is 3 commits behind derekr:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BWToolkitFramework.framework
Code
English.lproj
Frameworks/Growl.framework
PHP.sugar.xcodeproj
XML Based
icons
test
.gitignore
CSBasilReferenceWindow.h
CSBasilReferenceWindow.m
CSBasilSugarConsole.xib
CSBasilSugarReference.xib
Info.plist
Mark.tiff
README.markdown
TB_ClearConsole.tiff
phpref.css

README.markdown

PHP.sugar

Version 1.0b5

Contributors

About

The PHP.sugar is bundled with Espresso. The source is maintained here, and is the best place to check up on development/get bleeding edge versions.

Always looking for suggestions and ideas for improving the sugar. Feel free to drop by the ##Espresso irc channel, or submit them at derekr.lighthouseapp.com.

Installation

The PHP.sugar project is built in XCode. To use the latest source you must:

  1. Download the source
  2. Open up the .xcodeproj file
  3. Build the PHP bundle

If you just want the latest release, click on the "Downloads" tab at the top of this github page.

To install:

  1. If you are using the source, the compiled package will be placed in the correct Application Support location. Otherwise double click any PHP.sugar file and it will be placed in ~/Library/Application Support/Espresso/Sugars (place is in this location if not automatically placed) and restart Espresso when prompted.

Features

  • Syntax Highlighting (if we're missing something, let us know)
  • Codesense for built-in PHP functions, global variables, magic variables (__FILE__)
  • Classes, control blocks, function definitions, class properties and constants all show up in the code navigator
  • Support for embedded languages
    • HTML (within php strings and outside of php blocks <?php ... ?>)
    • SQL (within php strings)

Thanks for Nicholas the PHP.sugar now offers

  • Syntax checking (will check for basic syntax errors like missing semi-colons)
  • Error-Log Console (need to set path to error-log file in the TextActions.xml file; defaults to MAMP's default location)
  • PHP Reference lookup (via apple, google or php.net)

Thanks for checking it out! Hope you enjoy!