Skip to content

Instantly share code, notes, and snippets.

View keizah7's full-sized avatar
👋

Artūras keizah7

👋
View GitHub Profile
@simonhamp
simonhamp / AppServiceProvider.php
Last active May 16, 2024 09:04
A pageable Collection implementation for Laravel
<?php
namespace App\Providers;
use Illuminate\Support\Collection;
use Illuminate\Pagination\LengthAwarePaginator;
class AppServiceProvider extends ServiceProvider
{
public function boot()
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
/*
A slightly more automated approach to BEM modifier classes:
using '&' parent selector interpolation, modifiers extend their bases,
so that HTML markup requires only the modifier class not the base *and* modifier
*/