aubert-alexis/symfony4-api-starter
Composer 安装命令:
composer create-project aubert-alexis/symfony4-api-starter
包简介
README 文档
README
Guide
This is a simple starter who can be used for any project with back-office.
SB admin 2 template is implemented for the design.
features:
Security
- Login -> check your roles and redirect ( ROLE_ADMIN -> BO | ROLE_USER -> FO) - Check tips section for credentials
- Registration form -> simple user registration
- Forgot password -> in localhost email is not sended, you have to check the debug bar on the mail icon you will find the url to reset your password
Back-office
- Dashboard -> actually, he is so simple only the count of users registred
- User -> table with CRUD and datatable
- Profil (at right on top) -> edit your personnal informations
- Parameter (at right on top) -> change your password
API
-
List of users -> GET /api/users {access_token} Get all users form admin
-
Single user -> GET /api/users/{id} {access_token} Get a single user for admin and owner
-
Update user -> PUT /api/users/{id} {access_token} Update a single user for admin and owner
-
Login -> GET /api/login_check Login
-
Register -> POST /api/users {access_token} Register a new User
-
Forgot password -> POST forgot-password {access_token} Forgot password by email
Tips
Login :
- USER - user@user.fr / user
- ADMIN - admin@admin.fr / admin
Title :
Sf4-Starter on title of pages -> config/packages/twig.yaml globals -> const_website_title
Installation
1 - Composer
Download dependencies needed for project : composer install
2 - Database
IMPORTANT : change the .env with your information.
Create the database :
php bin/console doctrine:database:create
Update the database :
php bin/console doctrine:migration:migrate
3 - Fixtures
Load random fake data.
php bin/console doctrine:fixtures:load
4 - Server
Launch server.
php bin/console server:run
aubert-alexis/symfony4-api-starter 适用场景与选型建议
aubert-alexis/symfony4-api-starter 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 01 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 aubert-alexis/symfony4-api-starter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aubert-alexis/symfony4-api-starter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2020-01-06