Last active
April 6, 2017 10:11
-
-
Save ykocaman/e6279dce784f29d3705db761ec44949e to your computer and use it in GitHub Desktop.
fixing tls problem of laravel swiftmailer
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
"scripts": { | |
"post-install-cmd": [ | |
"sed -i 's/$options = array();/$options = array(\"ssl\" => array(\"verify_peer\" => FALSE, \"verify_peer_name\" => FALSE));/' vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php", | |
"php artisan clear-compiled", | |
"php artisan optimize" | |
], | |
"post-update-cmd": [ | |
"sed -i 's/$options = array();/$options = array(\"ssl\" => array(\"verify_peer\" => FALSE, \"verify_peer_name\" => FALSE));/' vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php", | |
"php artisan clear-compiled", | |
"php artisan optimize" | |
], | |
"post-create-project-cmd": [ | |
"php artisan key:generate" | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment