Getting started
Last updated
Last updated
Your access to all Highside Labs Composer packages is is managed by your product key. Right after checkout, you'll be redirected to the dashboard, where you'll see your key:
Making a project using the starter kit is as simple as running composer create-project
:
You will be prompted to enter your login credentials for satis.highsidelabs.co
. Your username is the email associated with your tools.highsidelabs.co
account, and your password is the product key referenced above. Then just cd
into the new project directory.
As with a normal Laravel project, copy .env.example
to .env
. The environment variables that are specific to this project are the ones starting with SPAPI_
, but which ones you actually need to provide values for will depend on your use case. For now, just make sure you have the database-related environment variables filled in (DB_*
). The rest of the environment variables will be covered in depth in later sections of this documentation (specifically: Credentials, OAuth, and Notifications).
Database configuration is exactly the same as in a standard Laravel application, so we recommend referring to their documentation for any database setup questions. If you change your database setup to something other than Laravel's default SQLite option, you will need to run php artisan migrate
to apply the database migrations to your new database.
Once you're done changing database configuration options, run php artisan db:seed
to populate the database with some generic SP API data that's needed for the rest of the starter kit to work properly.
That's all the generic setup! Next, let's look at how to work with SP API credentials so that we can start actually making calls to the API.