Skip to content

🐙 Multi tenancy application experiments. See the forks.

License

Notifications You must be signed in to change notification settings

a21ns1g4ts/saas-playground

Repository files navigation

saas-playground

MIT

PRs and issues is welcome!

Requirements

  • PHP >= 7.2.5
  • Composer PHP >= 1.9.0

PHP extensions:

  • OpenSSL
  • BCMath
  • Fileinfo
  • PDO
  • Mbstring
  • Tokenizer
  • XML
  • Ctype
  • JSON

Supported databases

  • MySQL 5.6+
  • PostgreSQL 9.4+
  • SQLite 3.8.8+
  • SQL Server 2017+

Installation

Clone the repository

git clone https://github.com/Atiladanvi/saas-playground.git

Switch to the repo folder

cd saas-playground

Install all the dependencies using composer

composer install

Copy the example env file and make the required configuration changes in the .env file

cp .env.example .env

Generate a new application key

php artisan key:generate

Set the database connection in .env

DB_CONNECTION=<mysql|pgsql|sqlite|sqlsrv>
DB_HOST=<host>
DB_PORT=<port>
DB_DATABASE=<databse name>
DB_USERNAME=<database user>
DB_PASSWORD=<database password>

Clean the application cache

php artisan optimize 

Run the database migrations and seeders

php artisan migrate --seed

Start the local development server

php artisan serve

You can now access the server at http://localhost:8000

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License. Please see license file for more information.

About

🐙 Multi tenancy application experiments. See the forks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published