Installation SaaSUSB


SaaSWeb has been crafted with Laravel 5.8 and vue, which have a few server requirements before installing. you will need to make sure your server meets the following requirements:

  • PHP >= 7.1.3
  • BCMath PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Node.js & NPM

1. Regenerate your application key

For security measures you may regenerate your application key, be sure to run the following command below:

php artisan key:generate

2. Create a New Database

Create a new MySQL database and save the credentials, you will need them to fill your .env file.

3. Duplicate & Rename the .env.example file

Make sure to specify your Environment variables for your great saas application. Duplicate .env.example, and rename it to .env.

Then, open up the .env file and update your DB_DATABASE, DB_USERNAME, and DB_PASSWORD in the appropriate fields. You will also want to update the APP_URL to the URL of your application.



4. Install or Update Composer Dependencies

Install all the composer dependencies by running the following command:

composer install

5. Run Migrations and Seeds

Migrate the database by runing :

php artisan migrate

Next seed the database with the following command: :

php artisan db:seed

Next, you should run the passport:install command. This command will create the encryption keys needed to generate secure access tokens.

php artisan passport:install

6. Linking The Storage Directory

you should link the public/storage directory to your storage/app/public directory. Otherwise, user profile photos stored on the local disk will not be available:

php artisan storage:link

🎉 Congratulations! You will now be able to visit your URL and see your new SaaS application up and running.

7. Create a new user

You can go to to create a new user

8. Assign user a role

You can now create and assign the newly created user a super / root admin role. To so run this command:

php artisan admin:assign-role admin-root

{warning} with an existing user email. admin-root is the default root Admin role.