Sublime Text 3 for php development , install Package Control from https://packagecontrol.io/installation and then copy this file to Packages/User/ , restart sublime and these packages should be installed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
The MIT License (MIT)
Copyright © 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.
How do you install packages in sublime?
Click the Preferences > Browse Packages… menu..
Browse up a folder and then into the Installed Packages/ folder..
Download Package Control. sublime-package and copy it into the Installed Packages/ directory..
Restart Sublime Text..
Can I use sublime for PHP?
The most significantly PHP-focused package for Sublime Text is called Sublime PHP Companion. Like most packages, it contains a series of actions you can perform.
How do I open PHP file in Sublime Text Browser?
Your PHP file should be saved in the Server root folder. Press Ctrl+B to display file in the browser.