mathieulepuil/symstartsaas

This package is auto-updated.

Last update: 2024-04-30 17:16:07 UTC


README


Installation

The only way to install SymStartSaaS is via composer, so you need to have it on your machine in order to proceed with the installation.

  1. Create the project via the terminal
composer create-project mathieulepuil/symstartsaas
  1. Execute the commands displayed at the end of the installation process
  2. Modify the .env to link your database
  3. Create the database
php bin/console d:d:c
  1. Update the database schema
php bin/console d:s:u -f

Your project is now installed, you can create your account and log in.

Authentication

SymStartSaaS offers 5 authentication modes. By Email, Discord, Google, Github and Gitlab.

  • Email : src/Controller/SecurityController.php
  • Discord : src/Controller/DiscordController.php
  • Google : src/Controller/GoogleController.php
  • Github : src/Controller/GithubController.php
  • Gitlab : src/Controller/GitlabController.php

You can add an OAuth authentication mode via this module: KnpUOAuth2ClientBundle

You can also delete them by following this procedure:

  • Delete the controller.
  • Delete the configuration lines in `config/packages/knpu_oauth2_client.yaml.
  • Delete application data in .env (or .env.local)

Don't forget to connect your applications by entering their ids in the .env file.

Stripe

SymStartSaaS uses Stripe to manage subscriptions. You need to create an account on the Stripe website and retrieve your API keys into .env.

Credits: Mathieu Le Puil