Skip to content

A simple PHP package to perform a couple types of operations on an instance of Trilium Next; probably works with the original Trilium also.

License

Notifications You must be signed in to change notification settings

kjgcoop/php-trilium-next-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-trilium-next-api

Simple API to talk to a Trilium Next instance. To generate the $config variable, create a file like the following:

trilium_endpoint=https://[your domain]/etapi/
trilium_key=[Your key]

zip=[Desired zip]

log=true
echo=true

Have PHP read it with parse_ini_file() and pass that function's output to this package.

The log and echo variables aren't in use right now; I plan to pull in a proper logger.

About

A simple PHP package to perform a couple types of operations on an instance of Trilium Next; probably works with the original Trilium also.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages