mathieulepuil / symstartsaas
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.2
- ext-ctype: *
- ext-iconv: *
- doctrine/dbal: ^3
- doctrine/doctrine-bundle: ^2.12
- doctrine/doctrine-migrations-bundle: ^3.3
- doctrine/orm: ^3.1
- knpuniversity/oauth2-client-bundle: ^2.18
- league/oauth2-github: ^3.1
- league/oauth2-google: ^4.0
- omines/oauth2-gitlab: ^3.6
- stripe/stripe-php: ^13.17
- symfony/console: 7.0.*
- symfony/dotenv: 7.0.*
- symfony/flex: ^2
- symfony/form: 7.0.*
- symfony/framework-bundle: 7.0.*
- symfony/mailer: 7.0.*
- symfony/runtime: 7.0.*
- symfony/security-bundle: 7.0.*
- symfony/twig-bundle: 7.0.*
- symfony/validator: 7.0.*
- symfony/webpack-encore-bundle: ^2.1
- symfony/yaml: 7.0.*
- twig/extra-bundle: ^2.12|^3.0
- twig/twig: ^2.12|^3.0
- wohali/oauth2-discord-new: ^1.2
Requires (Dev)
- symfony/maker-bundle: ^1.57
- symfony/stopwatch: 7.0.*
- symfony/web-profiler-bundle: 7.0.*
Conflicts
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.
- Create the project via the terminal
composer create-project mathieulepuil/symstartsaas
- Execute the commands displayed at the end of the installation process
- Modify the .env to link your database
- Create the database
php bin/console d:d:c
- 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