Skip to content

Instantly share code, notes, and snippets.

@seza443
seza443 / gist:37d3bd68aec7ec41211544f230b89d67
Created August 17, 2017 07:15
[Doctrine perform pending migrations] #doctrine #migration
php bin/console doctrine:migrations:migrate
@seza443
seza443 / gist:2340da9b0bb2ec2680c4aa6c7f21ceac
Created August 17, 2017 07:15
[Doctrine generate migration based on diff] #doctrine #migration #generation #diff
php bin/console doctrine:migrations:diff
@seza443
seza443 / gist:484bcdbf364515b00e582db699a76808
Created August 17, 2017 07:16
[Doctrine update database schema] #doctrine #database
php bin/console doctrine:schema:update --force
@seza443
seza443 / gist:7326ca19a57bd37aa5d89d9ede418cf2
Created August 17, 2017 07:16
[Doctrine generate accessors methods] #doctrine #generate
php bin/console doctrine:generate:entities AppBundle
@seza443
seza443 / main.js
Created August 17, 2017 07:17
[JQuery document.ready handler] #jquery #init #document #ready
$(document).ready(function() {
// Handler for .ready() called.
});
@seza443
seza443 / none
Created August 22, 2017 09:15
[Composer install] #composer #php
composer install
@seza443
seza443 / bash
Created August 22, 2017 12:51
[Api platform run server] #symfony #api-platform
php bin/console server:run
@seza443
seza443 / cmd
Created August 24, 2017 08:41
[Checkout new branch] #git #branch #new
git checkout -b newbranch
@seza443
seza443 / cmd
Last active August 24, 2017 09:32
[Symfony clear cache] #symfony #cache
php bin/console cache:clear
@seza443
seza443 / bash
Created August 30, 2017 07:57
[Symfony list available services] #symfony #service #container #list
php bin/console debug:container