View .php_cs
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 | |
return PhpCsFixer\Config::create() | |
->setRules(array( | |
'@PSR2' => true, | |
'binary_operator_spaces' => true, | |
'blank_line_after_namespace' => true, | |
'blank_line_after_opening_tag' => true, | |
'blank_line_before_return' => true, | |
'braces' => true, |
View LaravelValetImageCacheDriver.php
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 | |
class MyValetDriver extends ValetDriver | |
{ | |
protected $cacheUri = '/images/'; | |
protected $cachePath = '/image-cache'; | |
/** | |
* Determine if the driver serves the request. | |
* |
View gist:3b9fd2750b32a4a3358c3a70b4431f90
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
# FORGE CONFIG (DOT NOT REMOVE!) | |
include forge-conf/mydomain.com/before/*; | |
server { | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
server_name mydomain.com; | |
root /home/forge/mydomain.com/; | |
# FORGE SSL (DO NOT REMOVE!) |