Skip to content

Instantly share code, notes, and snippets.

View lcharette's full-sized avatar
😱
(∩◕-◕)⊃━☆゚.*・。゚

Louis Charette lcharette

😱
(∩◕-◕)⊃━☆゚.*・。゚
View GitHub Profile
@lcharette
lcharette / 0-GravDeployment.md
Last active February 19, 2021 18:48
Grav Deployment on Push Using GitHub Webhook
// ...
$user = User::with('profileFields')->get();
return $this->ci->view->render($response, 'foo.html.twig', [
'user' => $user
]);
@lcharette
lcharette / Project.php
Last active April 24, 2020 14:55
UserFrosting Sprunje with Relation Example
<?php
namespace UserFrosting\Sprinkle\Gaston\Database\Models;
use Illuminate\Database\Schema\Builder;
use Illuminate\Database\Eloquent\SoftDeletes;
use UserFrosting\Sprinkle\Account\Database\Models\User;
use UserFrosting\Sprinkle\Core\Database\Models\Model;
use UserFrosting\Sprinkle\UserProfile\Database\Models\Group;
@lcharette
lcharette / 1-CurrentStructure.md
Last active May 4, 2020 00:04
UserFrosting 5.0
@lcharette
lcharette / Readme.md
Created December 2, 2020 17:50
PHPUnit always output “No tests executed!” on MacOS Big Sur