Skip to content

Instantly share code, notes, and snippets.

View renalpha's full-sized avatar

Jason Hoendervanger renalpha

View GitHub Profile
@renalpha
renalpha / macosx-install-php-oracle-oci8.md
Last active March 15, 2018 10:04 — forked from gido/macosx-install-php-oracle-oci8.md
install Oracle PHP Extension (oracle OCI8) - instantclient for Mac OS 10.8 - homebrew environnement

Installation

This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).

PHP 5.6 installed with Homebrew.

Update: I wrote a blog post about this.

Update from Renalpha Valet MULTI-php version You need to install PEAR/pecl for php5.6 and run the pecl install through php5.6.

@renalpha
renalpha / composer.json
Created March 6, 2018 15:05
Force laravel to run packages with specific PHP version
"platform": {
"php": "5.6.24"
}
@renalpha
renalpha / helpers.php
Last active November 23, 2018 08:23
Active menu state
if(!function_exists('activeUrl')) {
function activeUrl($url, $class = 'active')
{
$trigger = request()->is($url.'*');
if($trigger === true) {
return $class;
}
return;
}
}
composer install --ignore-platform-reqs