IMPORTANT: Development of this package has stopped now that standard Sublime packages are Open Source. I'll be integrating changes in the official PHP package (everybody wins, me first). Thanks jbrooksuk for the suggestion in issue #17.
Sublime Text syntax definition for current PHP version. It goes well with its companion theme Baara Dark.
The objective of this package is keeping PHP language definition up to date with PHP syntax changes. Notice the PHP code in the screenshot is pure gobbledygook. The font used in the capture is Fresco, one of my own.
This is a work in progress. Pull requests are welcome.
The recommended way to install and keep up to date is to install it via
Package Control. Once you have installed Package Control, open it via
Preferences -> Package Control
and click on
Package Control: Install Package
. Type PHP Modern
into the search
box, then hit enter or click on the result to install.
Copyright (c) 2014 Joaquín Bernal
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.