You have to build the GMP extension from the PHP source code. First install Autoconf and GMP using Homebrew.
brew install autoconf gmp
Download and unpack PHP.
{ | |
"preset": "psr12", | |
"rules": { | |
"align_multiline_comment": true, | |
"array_indentation": true, | |
"array_syntax": true, | |
"blank_line_after_namespace": true, | |
"blank_line_after_opening_tag": true, | |
"combine_consecutive_issets": true, | |
"combine_consecutive_unsets": true, |
sudo apt install mysql-client
or
sudo apt-get install mysql-client
; PHP's default character set is set to UTF-8.
/** | |
* Create a Symfony response for the given exception. | |
* | |
* @param \Exception $e | |
* @return mixed | |
*/ | |
protected function convertExceptionToResponse(Exception $e) | |
{ | |
if (config('app.debug')) { | |
$whoops = new \Whoops\Run; |
// ------------------------------------------------------------------------------------------------------------------// | |
// vWorkApp Core Library | |
// ------------------------------------------------------------------------------------------------------------------// | |
var vWorkAppScript = vWorkAppScript || {}; | |
vWorkAppScript.host = "api.vworkapp.com"; | |
vWorkAppScript.apiToken = "PUT YOUR API KEY HERE" | |
(function() { |