Installation Saasify


Requirements

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

  • PHP >= 7.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 >= 14.6
  • NPM >= 6.14.8
  • Composer

Downloading Saasify

Before you can install Saasify, you will need to download the latest version from codecanyon on your dashboard. Buy Saasify now

{warning} In order to download a copy of Saasify you have to buy it from Codecanyon.com.

After downloading the latest version of Saasify, extract the zip file and rename it.

Great ! you are ready to begin the installation.

1. Create a New Database

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

2. Duplicate & Rename the .env.example file

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

cp .env.example .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.

APP_URL=http://your-url.com

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=saasify
DB_USERNAME=root
DB_PASSWORD=

STRIPE_KEY=Your-stripe-key
STRIPE_SECRET=Your-stripe-secret
CASHIER_CURRENCY=usd
TRIAL_DAYS_NO_PAYMENT_REQUIRE=10
ADMIN_EMAIL=your-admin-email

{warning} Don't forget to fill SMTP info on .env file for your app to be able to send emails and also Stripe credentials to be able to create plans and subscriptions.

3. Install Composer Dependencies

Install all the composer dependencies by running the following command:

composer install
npm install && npm run dev


4. Run Migrations and Seeds your database

Migrate the database by runing :

php artisan migrate

Next seed the database with the following command: :

php artisan db:seed


5. 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


6. 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


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


7. Login to your application

You can login with credentials: Email: admin@admin.com and Password: admin123 or register to create a new user.

Billing & Subscription

The Next step is to setup stripe credentials and start create plans, coupons on admin dashboard. For more info go to Plan & Billing section