Skip to content

Instantly share code, notes, and snippets.

View Atmden's full-sized avatar

Denis Druchshenko Atmden

View GitHub Profile
<?php
namespace App\Http\Sections;
use AdminColumn;
use AdminColumnEditable;
use AdminDisplay;
use AdminForm;
use AdminFormElement;
use App\Extensions\Entrances;
@Atmden
Atmden / Comments.php
Created April 16, 2019 17:28
Comments.php
<?php
namespace App\Admin\Sections;
use SleepingOwl\Admin\Contracts\Display\DisplayInterface;
use SleepingOwl\Admin\Contracts\Form\FormInterface;
use SleepingOwl\Admin\Contracts\Initializable;
use SleepingOwl\Admin\Section;
use AdminColumn;
use AdminDisplay;
@Atmden
Atmden / Articles.php
Last active April 16, 2019 17:27
Articles.php
<?php
namespace App\Admin\Sections;
use SleepingOwl\Admin\Contracts\Display\DisplayInterface;
use SleepingOwl\Admin\Contracts\Form\FormInterface;
use SleepingOwl\Admin\Contracts\Initializable;
use SleepingOwl\Admin\Section;
use AdminColumn;
use AdminDisplay;
@Atmden
Atmden / Map.php
Created July 31, 2018 15:05
Sleepingowl YandexMap
<?php
use App\Map;
use \App\Langs;
use SleepingOwl\Admin\Model\ModelConfiguration;
use Illuminate\Database\Eloquent\Model;
AdminSection::registerModel(Map::class, function (ModelConfiguration $model) {