mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 15:46:52 +03:00
Update Flex archives
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserIdInterface;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\Column(type=\"msgphp_user_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1d8f50b6179f7fe3f4b372f70efd40b61f40b6e9"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> </>",
|
||||
"<bg=blue;fg=white> User management setup </>",
|
||||
"<bg=blue;fg=white> </>",
|
||||
"",
|
||||
" * Install the Symfony Maker Bundle using <info>composer require maker --dev</>. It's required for the next step.",
|
||||
"",
|
||||
" * Run <info>bin/console make:user:msgphp</>. It will guide you through the basic setup by asking a series of",
|
||||
" questions and generates the minimal application source files needed."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserIdInterface;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3262da048cd2b609e9dfe782a615ceb770495323"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> </>",
|
||||
"<bg=blue;fg=white> User management setup </>",
|
||||
"<bg=blue;fg=white> </>",
|
||||
"",
|
||||
" * Install the Symfony Maker Bundle using <info>composer require maker --dev</>. It's required for the next step.",
|
||||
"",
|
||||
" * Run <info>bin/console make:user:msgphp</>. It will guide you through the basic setup by asking a series of",
|
||||
" questions and generates the minimal application source files needed."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserId $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4067ee796789a8828ec72f82c76508a76875bcf8"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserIdInterface;",
|
||||
"",
|
||||
"/**",
|
||||
" * @final",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "467ccfceb0143c35ed852ccd8f1d03effb73afc4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> </>",
|
||||
"<bg=blue;fg=white> User management setup </>",
|
||||
"<bg=blue;fg=white> </>",
|
||||
"",
|
||||
" * Install the Symfony Maker Bundle using <info>composer require maker --dev</>. It's required for the next step.",
|
||||
"",
|
||||
" * Run <info>bin/console make:user:msgphp</>. It will guide you through the basic setup by asking a series of",
|
||||
" questions and generates the minimal application source files needed."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.yaml": {
|
||||
"contents": [
|
||||
"msgphp_user:",
|
||||
" class_mapping:",
|
||||
" MsgPhp\\User\\User: App\\Entity\\User",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserId $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4d05997361b6660e42d133abb839a8dfbd02228f"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> </>",
|
||||
"<bg=blue;fg=white> User management setup </>",
|
||||
"<bg=blue;fg=white> </>",
|
||||
"",
|
||||
" * Install the Symfony Maker Bundle using <info>composer require maker --dev</>. It's required for the next step.",
|
||||
"",
|
||||
" * Run <info>bin/console make:user:msgphp</>. It will guide you through the basic setup by asking a series of",
|
||||
" questions and generates the minimal application source files needed."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserIdInterface;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6629107e956e6eb4a7d45367717ff4e7c0dd5a9f"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"",
|
||||
"/**",
|
||||
" * @final",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6ae9ea7c7b0ab4c150aff50cffa618885893e2bf"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\{PendingUser, User, UserAttributeValue, UserRole, UserSecondaryEmail};",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" //PendingUser::class => \\App\\Entity\\User\\PendingUser::class,",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" //UserAttributeValue::class => \\App\\Entity\\User\\UserAttributeValue::class,",
|
||||
" //UserRole::class => \\App\\Entity\\User\\UserRole::class,",
|
||||
" //UserSecondaryEmail::class => \\App\\Entity\\User\\UserSecondaryEmail::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"",
|
||||
"/**",
|
||||
" * @final",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "8eaf3269536f384057175c6719bfd954786d030a"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Install the Symfony Maker Bundle using <info>composer require maker --dev</>. It's required for the next step.",
|
||||
"",
|
||||
" * Run <info>bin/console make:user:msgphp</>. It will guide you through the basic setup by asking a series of",
|
||||
" questions and generates the minimal application source files needed."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.yaml": {
|
||||
"contents": [
|
||||
"msgphp_user:",
|
||||
" class_mapping:",
|
||||
" MsgPhp\\User\\User: App\\Entity\\User",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserId $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ba0713a124b0716cce44f2989fd31a20945318ba"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> </>",
|
||||
"<bg=blue;fg=white> User management setup </>",
|
||||
"<bg=blue;fg=white> </>",
|
||||
"",
|
||||
" * Install the Symfony Maker Bundle using <info>composer require maker --dev</>. It's required for the next step.",
|
||||
"",
|
||||
" * Run <info>bin/console make:user</>. It will guide you through the basic setup by asking a series of questions",
|
||||
" and generates the minimal application source files needed."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserIdInterface;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "c53ce5be89d7fd33877ea0c742bdeb4df427a06d"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> </>",
|
||||
"<bg=blue;fg=white> User management setup </>",
|
||||
"<bg=blue;fg=white> </>",
|
||||
"",
|
||||
" * Install the Symfony Maker Bundle using <info>composer require maker --dev</>. It's required for the next step.",
|
||||
"",
|
||||
" * Run <info>bin/console make:user:msgphp</>. It will guide you through the basic setup by asking a series of",
|
||||
" questions and generates the minimal application source files needed."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserId $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "d918be3c178a6dd2cbdf4bad1c6e58ab92248e90"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/user-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\UserBundle\\MsgPhpUserBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_user.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\User\\Entity\\User;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_user', [",
|
||||
" 'class_mapping' => [",
|
||||
" User::class => \\App\\Entity\\User\\User::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/User/User.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\User;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\User\\Entity\\User as BaseUser;",
|
||||
"use MsgPhp\\User\\UserIdInterface;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class User extends BaseUser",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_user_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(UserIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): UserIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "fea9ec90769540d6f369e7f4e31ca80ca768d170"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user