Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Official Espresso php.sugar
C Objective-C PHP

Merge remote branch 'origin/master'

latest commit 1016ef0089
Derek Reynolds authored
Failed to load latest commit information.
BWToolkitFramework.framework Complete refactor of cocoa components. Stripped out HUD style in plac…
Code Complete refactor of cocoa components. Stripped out HUD style in plac…
English.lproj Merging xcode branch
Frameworks/Growl.framework Removed unused BGHUDAppKit framework and adjusted intial window locat…
PHP.sugar.xcodeproj Removed unused BGHUDAppKit framework and adjusted intial window locat…
XML Based Revert "Fixed container.class definition to handle multiline situatio…
icons Complete refactor of cocoa components. Stripped out HUD style in plac…
test Fixed itemizer bugs. Had to get rid of control blocks displaying in t…
.gitignore Made a bombtastic gitignore file thanks to @drudge and @elliottcable
CSBasilReferenceWindow.h Complete refactor of cocoa components. Stripped out HUD style in plac…
CSBasilReferenceWindow.m Complete refactor of cocoa components. Stripped out HUD style in plac…
CSBasilSugarConsole.xib Removed unused BGHUDAppKit framework and adjusted intial window locat…
CSBasilSugarReference.xib Removed unused BGHUDAppKit framework and adjusted intial window locat…
Info.plist Complete refactor of cocoa components. Stripped out HUD style in plac…
Mark.tiff Complete refactor of cocoa components. Stripped out HUD style in plac…
README.markdown Editing out info about handling pre 1.0.3 [espresso] installation
TB_ClearConsole.tiff Complete refactor of cocoa components. Stripped out HUD style in plac…
phpref.css Complete refactor of cocoa components. Stripped out HUD style in plac…

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!

Something went wrong with that request. Please try again.