Skip to content

Instantly share code, notes, and snippets.

View chaseconey's full-sized avatar

Chase Coney chaseconey

View GitHub Profile

install php

with mysql pgsql intl support

$ brew install php --with-apache --with-mysql --with-pgsql --with-intl

set php timezone in php ini

date.timezone = Europe/Vienna
@chaseconey
chaseconey / PjaxMiddleware.php
Created October 17, 2015 02:48 — forked from JeffreyWay/PjaxMiddleware.php
Laravel middleware for working with pjax.
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Symfony\Component\DomCrawler\Crawler;
class PjaxMiddleware