Download the PHP package schematichq/schematic-php without Composer

On this page you can find all versions of the php package schematichq/schematic-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package schematic-php

schematic-php

Schematic API

For more information, please visit https://schematichq.com.

Installation & Usage

Requirements

PHP 7.4 and later. Should also work with PHP 8.0.

Installation

You can install the Schematic PHP SDK via Composer. Run the following command in your project directory:

Usage

To initialize the Schematic client, provide a secret API key; you can issue an API key in the API Keys section of settings in the Schematic web app.

Once you have initialized the Schematic client, you can make API calls using the various API classes provided by the SDK.

The SDK throws exceptions in case of API errors. You can catch and handle these exceptions in your code:

API Endpoints

The following Schematic API endpoints are accessible via this client library. All URIs are relative to https://api.schematichq.com

Class Method HTTP request Description
AccountsApi countApiKeys GET /api-keys/count Count api keys
AccountsApi countApiRequests GET /api-requests/count Count api requests
AccountsApi createApiKey POST /api-keys Create api key
AccountsApi createEnvironment POST /environments Create environment
AccountsApi deleteApiKey DELETE /api-keys/{api_key_id} Delete api key
AccountsApi deleteEnvironment DELETE /environments/{environment_id} Delete environment
AccountsApi getApiKey GET /api-keys/{api_key_id} Get api key
AccountsApi getApiRequest GET /api-requests/{api_request_id} Get api request
AccountsApi getEnvironment GET /environments/{environment_id} Get environment
AccountsApi listApiKeys GET /api-keys List api keys
AccountsApi listApiRequests GET /api-requests List api requests
AccountsApi updateApiKey PUT /api-keys/{api_key_id} Update api key
AccountsApi updateEnvironment PUT /environments/{environment_id} Update environment
CompaniesApi createCompany POST /companies/create Create company
CompaniesApi createUser POST /users/create Create user
CompaniesApi deleteCompany DELETE /companies/{company_id} Delete company
CompaniesApi deleteCompanyByKeys POST /companies/delete Delete company by keys
CompaniesApi deleteCompanyMembership DELETE /company-memberships/{company_membership_id} Delete company membership
CompaniesApi deleteUser DELETE /users/{user_id} Delete user
CompaniesApi deleteUserByKeys POST /users/delete Delete user by keys
CompaniesApi getCompany GET /companies/{company_id} Get company
CompaniesApi getOrCreateCompanyMembership POST /company-memberships Get or create company membership
CompaniesApi getOrCreateEntityTraitDefinition POST /entity-trait-definitions Get or create entity trait definition
CompaniesApi getUser GET /users/{user_id} Get user
CompaniesApi listCompanies GET /companies List companies
CompaniesApi listCompanyMemberships GET /company-memberships List company memberships
CompaniesApi listCompanyPlans GET /company-plans List company plans
CompaniesApi listUsers GET /users List users
CompaniesApi lookupCompany GET /companies/lookup Lookup company
CompaniesApi lookupUser GET /users/lookup Lookup user
CompaniesApi updateEntityTraitDefinition PUT /entity-trait-definitions/{entity_trait_definition_id} Update entity trait definition
CompaniesApi upsertCompany POST /companies Upsert company
CompaniesApi upsertCompanyTrait POST /company-traits Upsert company trait
CompaniesApi upsertUser POST /users Upsert user
CompaniesApi upsertUserTrait POST /user-traits Upsert user trait
EntitlementsApi createCompanyOverride POST /company-overrides Create company override
EntitlementsApi createPlanEntitlement POST /plan-entitlements Create plan entitlement
EntitlementsApi deleteCompanyOverride DELETE /company-overrides/{company_override_id} Delete company override
EntitlementsApi deletePlanEntitlement DELETE /plan-entitlements/{plan_entitlement_id} Delete plan entitlement
EntitlementsApi getCompanyOverride GET /company-overrides/{company_override_id} Get company override
EntitlementsApi getPlanEntitlement GET /plan-entitlements/{plan_entitlement_id} Get plan entitlement
EntitlementsApi listCompanyOverrides GET /company-overrides List company overrides
EntitlementsApi listPlanEntitlements GET /plan-entitlements List plan entitlements
EntitlementsApi updateCompanyOverride PUT /company-overrides/{company_override_id} Update company override
EntitlementsApi updatePlanEntitlement PUT /plan-entitlements/{plan_entitlement_id} Update plan entitlement
EventsApi countEventSummaries GET /event-types/count Count event summaries
EventsApi countEvents GET /events/count Count events
EventsApi createEvent POST /events Create event
EventsApi createEventBatch POST /event-batch Create event batch
EventsApi getEvent GET /events/{event_id} Get event
EventsApi getEventSummaries GET /event-types Get event summaries
EventsApi getEventSummaryBySubtype GET /event-types/{key} Get event summary by subtype
EventsApi listEvents GET /events List events
EventsApi listMetricCounts GET /metric-counts List metric counts
FeaturesApi checkFlag POST /flags/{key}/check Check flag
FeaturesApi checkFlags POST /flags/check Check flags
FeaturesApi countAudienceCompanies POST /audience/count-companies Count audience companies
FeaturesApi countAudienceUsers POST /audience/count-users Count audience users
FeaturesApi countFlagChecks GET /flag-checks/count Count flag checks
FeaturesApi createFeature POST /features Create feature
FeaturesApi createFlag POST /flags Create flag
FeaturesApi deleteFeature DELETE /features/{feature_id} Delete feature
FeaturesApi deleteFlag DELETE /flags/{flag_id} Delete flag
FeaturesApi getFeature GET /features/{feature_id} Get feature
FeaturesApi getFlag GET /flags/{flag_id} Get flag
FeaturesApi getFlagCheck GET /flag-checks/{flag_check_id} Get flag check
FeaturesApi getLatestFlagChecks GET /flag-checks/latest Get latest flag checks
FeaturesApi listAudienceCompanies POST /audience/get-companies List audience companies
FeaturesApi listAudienceUsers POST /audience/get-users List audience users
FeaturesApi listFeatures GET /features List features
FeaturesApi listFlagChecks GET /flag-checks List flag checks
FeaturesApi listFlags GET /flags List flags
FeaturesApi updateFeature PUT /features/{feature_id} Update feature
FeaturesApi updateFlag PUT /flags/{flag_id} Update flag
FeaturesApi updateFlagRules PUT /flags/{flag_id}/rules Update flag rules
PlansApi createPlan POST /plans Create plan
PlansApi deleteAudience DELETE /plan-audiences/{plan_audience_id} Delete audience
PlansApi deletePlan DELETE /plans/{plan_id} Delete plan
PlansApi getPlan GET /plans/{plan_id} Get plan
PlansApi listPlans GET /plans List plans
PlansApi updateAudience PUT /plan-audiences/{plan_audience_id} Update audience
PlansApi updatePlan PUT /plans/{plan_id} Update plan

Models

Author

[email protected]

Support

If you encounter any issues or have questions regarding the Schematic PHP SDK, please contact our support team at [email protected].


All versions of schematic-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package schematichq/schematic-php contains the following files

Loading the files please wait ....