Skip to content

Instantly share code, notes, and snippets.

John Roca moiroca

Block or report user

Report or block moiroca

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
moiroca / S3Utility.php
Created Aug 4, 2016
S3 Utility Encapsulation For Laravel Framework
View S3Utility.php
* S3 Utility
* @author John Temoty Roca
class S3Utility
* @var
moiroca / BaseModel.php
Last active May 18, 2016 — forked from goranprijic/BaseModel.php
Check if table is already joined in Laravel Query Builder
View BaseModel.php
class BaseModel extends Eloquent {
public static function isJoined($query, $table)
$joins = $query->getQuery()->joins;
if($joins == null) {
return false;
You can’t perform that action at this time.