produpress/laravel-actito

Actito for Laravel

0.5.1 2023-08-03 14:46 UTC

README

A package for the Laravel Framework to interact with Actito API.

Under heavy development

Currently supporting:

Installation

You may install the package via composer:

composer require produpress/laravel-actito

Configuration

Environment variables

ACTITO_URI=https://api3.actito.com/
ACTITO_KEY=0123456789abcdf0123456789abcdef
ACTITO_ENTITY=DefaultEntity
ACTITO_TABLE=1

You may also publish a config file with

php artisan actito:install

Usage

Data

//Get a specific profile by Id from the default table (see config)
Actito::profile()->get(123);

//Get a profile from another table and entity.
Actito::profile(8)->entity('AnotherEntity')->get(456);

//Create or update a profile and get the profile Id
$profileId = Actito::profile()->save($profileData);

DataModel

//Get list of profile tables
Actito::profile()->tables();

//Get the schema of a profile table with the profile table id
Actito::profile(8)->schema();

//Get list of custom tables
Actito::customTable()->tables();

//Get the schema of a custom table witht he custome table id
Actito::customTable('109675e9-429e-954d-a50f-9e806d70a6ca')->schema();

More in Documentation

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

Thanks

With the help of:

License

The MIT License (MIT). Please see License File for more information.