./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_Name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For service account auth include: | |
require_once __DIR__ . '/ServiceAccount.php'; | |
For Oauth2 include: | |
require_once __DIR__ . '/Oauth2Authentication.php'; | |
Note: To reset the auth for oauth to just unset the sessions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sf2-ddd | |
├── app | |
├── bin | |
├── build | |
├── lib | |
├── src | |
│ └── __VendorPrefix | |
│ ├── Application | |
│ │ └── __DomainNameBundle | |
│ │ ├── Command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Standardized data cleanup helper class */ | |
class Cleanup { | |
/** | |
* Make a string into UTF8 compliant... cleans funcky input characters | |
* @param mixed $str | |
* @return mixed $str | |
*/ | |
static function makeUTF8($str) { | |
if (is_array($str)) { |