mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 01:56:28 +03:00
55 lines
2.5 KiB
JSON
55 lines
2.5 KiB
JSON
{
|
|
"locks": {
|
|
"mailxpert/apibundle": {
|
|
"version": "0.1",
|
|
"recipe": {
|
|
"repo": "0.1",
|
|
"branch": "master",
|
|
"version": "0.1",
|
|
"ref": "c5ebe490e51efb3c4397ab64207845a36cf209b0"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"mailxpert/apibundle": {
|
|
"repository": "github.com/symfony/recipes-contrib",
|
|
"package": "mailxpert/apibundle",
|
|
"version": "0.1",
|
|
"manifest": {
|
|
"bundles": {
|
|
"Mailxpert\\APIBundle\\MailxpertAPIBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/",
|
|
"src/": "%SRC_DIR%/"
|
|
},
|
|
"env": {
|
|
"MAILXPERT_CLIENT_ID": "mailxpert_client_id_to_replace",
|
|
"MAILXPERT_CLIENT_SECRET": "mailxpert_client_secret_to_replace"
|
|
}
|
|
},
|
|
"files": {
|
|
"src/Entity/AccessToken.php": {
|
|
"contents": "<?php\n\nnamespace App\\Entity;\n\nuse Mailxpert\\APIBundle\\Entity\\AccessToken as BaseAccessToken;\nuse Doctrine\\ORM\\Mapping as ORM;\n\n/**\n * @ORM\\Entity\n * @ORM\\Table(name=\"mx_access_token\")\n */\nclass AccessToken extends BaseAccessToken\n{\n /**\n * @ORM\\Id\n * @ORM\\Column(type=\"integer\")\n * @ORM\\GeneratedValue(strategy=\"AUTO\")\n */\n protected $id;\n}\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"config/routes/mailxpert_apibundle.yaml": {
|
|
"contents": "mx_api:\n resource: '@MailxpertAPIBundle/Resources/config/routing.xml'\n type: xml\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"config/packages/mailxpert_apibundle.yaml": {
|
|
"contents": "mailxpert_api:\n access_token_class: App\\Entity\\AccessToken\n oauth:\n client_id: '%env(MAILXPERT_CLIENT_ID)%'\n client_secret: '%env(MAILXPERT_CLIENT_SECRET)%'\n redirect_url: 'http://example.com/mx/oauth/code'\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "mailxpert/apibundle:0.1@github.com/symfony/recipes-contrib:master",
|
|
"not_installable": false,
|
|
"is_contrib": true
|
|
}
|
|
}
|
|
} |