定制 mathieulepuil/symfony-saas-boilerplate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mathieulepuil/symfony-saas-boilerplate

最新稳定版本:v1.0.0

Composer 安装命令:

composer create-project mathieulepuil/symfony-saas-boilerplate

包简介

Template for Symfony-based SaaS projects

README 文档

README

Version License Symfony

This repository is a Symfony 7 template with all the basic elements needed to start a project. The project includes :

  • Symfony 7.0.1
  • TailwindCSS
  • Registration via form
  • Registration via oauth
  • Connection via form
  • Connection via oauth

Table of contents :

  1. Presentation
  2. Installation
  3. OAuth

Presentation

The template contains a single entity: User with the following properties:

  • id
  • email
  • roles
  • password
  • firstname
  • lastname
  • username
  • profile_picture
  • oauth

Account connection is managed in the SecurityController and is accessed via the /login route. In the case of registration, the route is /signup. Connection can be made via the form on the site or via one of the following social networks:

  • Discord
  • Github
  • Gitlab
  • Google

You can add more oauth by following the KnpU documentation.

You can also delete them by following this procedure:

  1. Delete the {platform}Connect and {platform}ConnectCheck functions in the SecurityController.
  2. Delete the configuration lines in config/packages/knpu_oauth2_client.yaml.
  3. Delete application data in .env (or .env.local)

Installation

Prerequisites :

  • PHP 8.2.0 or higher
  • Composer
  • Symfony CLI
  • NodeJS

If you have all the prerequisites, you can start the installation.

  1. Clone the repository or download the zip
  2. Open your project in your IDE
  3. Open a terminal and type composer install.
  4. Open a terminal and type npm install.
  5. Set up your .env.local with your database information
  6. Open a terminal and type php bin/console doctrine:database:create.
  7. Open a terminal and type php bin/console doctrine:schema:update --force.
  8. Set up your .env.local with your oauth credentials

OAuth

To use oauth, you need to create an application on the following platforms:

Project by Mathieu Le Puil - My Website - Contact me - My Twitter - My LinkedIn

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2024-02-17