msgphp/symfony-demo-app

此包已被放弃且不再维护。未建议替代包。

一个带有基本用户管理、REST/GraphQL API和OAuth/JWT认证的Symfony演示应用程序。

安装: 661

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 0

开放问题: 0

类型:项目


README

msgphp/* 仓库已不再积极开发/支持。

在您的生产环境中使用存在风险。

如果您想进行一些热补丁 - 请直接在目标仓库中提交PR,而不是之前的msgphp/msgphp 单一仓库

Symfony 演示应用程序

一个带有基本用户管理、REST/GraphQL API和OAuth/JWT认证的Symfony演示应用程序。

Build status Latest Stable Version

MsgPHP 是一个旨在为您的应用程序提供可重用领域层的项目。它具有较低的开发时间开销,并且避免过度偏向。

启用的捆绑包

关注点 捆绑包
领域 MsgPhpUserBundle, MsgPhpEavBundle
ORM DoctrineBundle
安全 SecurityBundle, HWIOAuthBundle, LexikJWTAuthenticationBundle
Web API ApiPlatformBundle

特性

  • 注册、登录、忘记密码、我的资料
  • 一次性登录令牌
  • 注册邀请
  • 主要电子邮件和次要电子邮件

自己试试

使用 Symfony CLI

composer create-project msgphp/symfony-demo-app
cd symfony-demo-app

# Database and Elasticsearch must be running
# Change DATABASE_URL and ELASTICSEARCH_HOST in .env.local, if needed

bin/console doctrine:database:create --if-not-exists
bin/console doctrine:schema:update --force
bin/console doctrine:fixtures:load -n

bin/console projection:synchronize

symfony server:start
symfony open:local

使用 Docker

# assuming composer is not installed on the local machine
git clone git@github.com:msgphp/symfony-demo-app.git
cd symfony-demo-app
cp .env.local.dist .env.local

make build start install db-fixtures api-sync

# open https://:8443

文档

贡献

查看CONTRIBUTING.md

截图

v1.x 08-2018
screen:login screen:profile
screen:api screen:cli
screen:uml

博客文章