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
[PHP] | |
engine = On | |
short_open_tag = On | |
asp_tags = Off | |
precision = 14 | |
output_buffering = 4096 | |
zlib.output_compression = Off | |
implicit_flush = Off | |
unserialize_callback_func = | |
serialize_precision = 17 |
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
[global] | |
error_log = /proc/self/fd/2 | |
daemonize = no | |
[www] | |
# BOOT2DOCKER LIMITATIONS | |
user = root | |
group = root | |
# SYMFONY 2 REQUIREMENTS |
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
upstream phpfcgi { | |
server phpfpm:9000; | |
} | |
server { | |
listen 80 default; | |
server_name local.dev; | |
root /var/www/public; | |
index index.php index.html index.htm; |
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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Theme - Brogrammer/brogrammer.tmTheme", | |
"detect_intentation": false, | |
"draw_white_space": "all", | |
"font_options": | |
[ | |
"gray_antialias" | |
], |
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
{ | |
"codeformatter_php_options": { | |
"syntaxes": "php", // Syntax names which must process PHP formatter | |
"php_path": "/usr/local/bin/php", // Path for PHP executable, e.g. "/usr/lib/php" or "C:/Program Files/PHP/php.exe". If empty, uses command "php" from system environments | |
"format_on_save": true, // Format on save | |
"psr1": false, // Activate PSR1 style | |
"psr1_naming": false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case | |
"psr2": true, // Activate PSR2 style | |
"indent_with_space": 4, // Use spaces instead of tabs for indentation | |
"enable_auto_align": false, // Enable auto align of = and => |
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
{ | |
// Default pattern | |
"start_dir_pattern": "^.*?((?:[\/\\\\][A-Z][^\/\\\\]*)+)$", | |
"namespace_prefix": "App", | |
"exclude_dir": [], | |
// Need the php binary to work | |
"allow_use_from_global_namespace" : true, | |
// Use "inline" to include the namespace just after the <?php opening tag |
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
{ | |
"autocomplete": true, | |
"autoimport": true, | |
"enable_auto_align": false, | |
"format_on_save": true, | |
"ignore": "Parent", | |
"indent_with_space": 4, | |
"passes": | |
[ | |
"ReindentSwitchBlocks", |
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
[ | |
{ "keys": ["F1"], "command": "goto_documentation" }, | |
{ "keys": ["ctrl+enter"], "command": "find_use"}, | |
{ "keys": ["alt+enter"], "command": "goto_definition_scope"}, | |
{ "keys": ["super+shift+r"], "command": "reveal_in_side_bar"}, | |
{ "keys": ["alt+i"], "command": "import_namespace"}, | |
] |
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
sudo apt-get install python-software-properties | |
sudo apt-get update | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get install -y language-pack-en-base | |
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.0 php7.0-mysql php7.0-fpm nginx | |
sudo apt-get install php7.0-gd php7.0-curl php7.0-mcrypt php7.0-sqlite3 php7.0-json | |
sudo phpenmod mcrypt | |
sudo phpenmod gd |
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
server { | |
listen 80; | |
listen 443 ssl; | |
server_name domain.com; | |
root "/home/user/current/public"; | |
index index.html index.htm index.php; | |
charset utf-8; |
OlderNewer