Skip to content

saasus-platform/implementation-sample-api-php

Repository files navigation

implementation-sample-api-php

This is a SaaS implementation sample using the SaaSus SDK

See the documentation API implementation using SaaS Platform

Run PHP API

git clone git@github.com:saasus-platform/implementation-sample-api-php.git
cd ./implementation-sample-api-php
cp .env.example .env
vi .env

# Set Env for SaaSus Platform API
# Get it in the SaaSus Admin Console
SAASUS_SAAS_ID="xxxxxxxxxx"
SAASUS_API_KEY="xxxxxxxxxx"
SAASUS_SECRET_KEY="xxxxxxxxxx"
SAASUS_AUTH_MODE="api"

# Save and exit
docker compose up -d --build
docker exec -it implementation-sample-api-php-app-1 bash
composer install

Production Note

When deploying to production, ensure that OPcache is enabled in your PHP configuration for optimal performance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages