Skip to content

Instantly share code, notes, and snippets.

View manu-sparheld's full-sized avatar
🏠
Working from home

Manoj Kumar manu-sparheld

🏠
Working from home
View GitHub Profile
@manu-sparheld
manu-sparheld / SonataAdminListAction.md
Created August 2, 2019 11:55 — forked from LogansUA/SonataAdminListAction.md
This is a custom sonata admin list button action.

Custom Sonata Admin List view Action

<?php
// YourBundle/Admin/EntityAdmin.php
namespace Namespace\YourBundle\Admin;

use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Form\FormMapper;
@manu-sparheld
manu-sparheld / xdebug-mac.md
Created March 19, 2019 13:23 — forked from ankurk91/xdebug-mac.md
php xDebug on Ubuntu/Mac and phpStorm 2018

🪲 Install and Configure xDebug on MacOS for PhpStorm 🐘

⚠️ This guide only applies to Homebrew v1.6+

  • Check your version brew --version before proceeding

  • Assuming that you have already installed php and apache via Homebrew v1.6+

  • Install xDebug php extension

pecl channel-update pecl.php.net
pecl clear-cache