Download the PHP package pulli/pullbox without Composer

On this page you can find all versions of the php package pulli/pullbox. 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 pullbox

Pullbox

A PHP 8.4+ library providing static methods for executing AppleScript on macOS, with wrappers for system operations, Music app, dialogs, notifications, and DEVONthink.

release packagist license downloads tests

Note: This library requires macOS to execute AppleScript commands. The AppleScript class can generate scripts on any platform, but the facade classes (System, Music, Dialog, Notification, DEVONthink) require macOS.

Installation

Usage

Dialog

Display macOS dialogs with customizable buttons and optional text input.

Methods:

Method Parameters Returns
display string $message, ?string $title, array $options = [] ?string (button pressed or text input, null if cancelled)

Options array:

Notification

Display macOS notifications with optional title, subtitle, and sound.

Methods:

Method Parameters Returns
display string $message, ?string $title = null, ?string $subtitle = null, ?string $soundName = null void

System

System-level operations for managing applications.

Methods:

Method Parameters Returns
applicationsFolder — string
moveApp string $name, string $path, bool $launch = true void
versionNumber string $appName, string $key = 'CFBundleVersion', bool $displayExceptions = true ?string

Music

Interact with the macOS Music app and play system sounds.

Methods:

Method Parameters Returns
exportPlaylist string $name, string $to, string $format = 'xml' void
playSystemSound SystemSound $sound void

DEVONthink

Interact with DEVONthink via AppleScript. All 119 scripting commands are supported. Most methods are compatible with DEVONthink 3 and 4; AI/Chat methods require DEVONthink 4.

Records are referenced by UUID throughout. Methods that create or find records return their UUID.

Record CRUD

Method Parameters Returns
createRecordWith array $properties, ?string $groupUuid ?string
delete string $uuid bool
duplicate string $uuid, ?string $toGroupUuid ?string
move string $uuid, string $toGroupUuid ?string
moveIntoDatabase string $uuid, string $databaseName ?string
moveToExternalFolder string $uuid bool
replicate string $uuid, string $toGroupUuid ?string
merge array $uuids, ?string $groupUuid ?string
update string $uuid, string $text, UpdateMode $mode, ?string $url bool

Record Access

Method Parameters Returns
pathToRecord string $uuid string
getRecordContents string $uuid string
getRecordAt string $path, ?string $databaseName ?string
getRecordWithId int $id, ?string $databaseName ?string
getRecordWithUuid string $uuid ?string
getDatabaseWithId int $id ?string
getDatabaseWithUuid string $uuid ?string

Record Content

Method Parameters Returns
getTextOf string $uuid string
getRichTextOf string $uuid string
getTitleOf string $uuid string
getMetadataOf string $uuid string
getConcordanceOf string $uuid string
getLinksOf string $uuid array
getEmbeddedImagesOf string $uuid array
getEmbeddedObjectsOf string $uuid array
getEmbeddedSheetsAndScriptsOf string $uuid array
getFramesOf string $uuid array
getFaviconOf string $uuid string

Custom Meta Data

Method Parameters Returns
addCustomMetaData mixed $value, string $forKey, string $uuid void
getCustomMetaData string $forKey, string $uuid string

Search & Lookup

Method Parameters Returns
search string $query, ?string $inGroupUuid, ?string $comparison, bool $excludeSubgroups array
lookupRecordsWithComment string $comment, ?string $databaseName array
lookupRecordsWithContentHash string $hash, ?string $databaseName array
lookupRecordsWithFile string $path, ?string $databaseName array
lookupRecordsWithPath string $path, ?string $databaseName array
lookupRecordsWithTags array $tags, ?string $databaseName array
lookupRecordsWithUrl string $url, ?string $databaseName array
exists string $uuid bool
existsRecordAt string $path, ?string $databaseName bool
existsRecordWithComment string $comment, ?string $databaseName bool
existsRecordWithContentHash string $hash, ?string $databaseName bool
existsRecordWithFile string $path, ?string $databaseName bool
existsRecordWithPath string $path, ?string $databaseName bool
existsRecordWithUrl string $url, ?string $databaseName bool
classify string $uuid, ?string $groupUuid array
compare string $uuid, string $toUuid float
count string $uuid int

Import & Export

Method Parameters Returns
importRecords array\|string $paths void
importPath string $path, ?string $groupUuid ?string
importTemplate string $path, ?string $groupUuid ?string
importAttachmentsOf string $uuid, ?string $groupUuid array
indexPath string $path, ?string $groupUuid ?string
export string $uuid, string $toPath bool
exportTagsOf string $uuid string
exportWebsite string $uuid, string $toPath bool

Web Capture & Download

Method Parameters Returns
createWebDocumentFrom string $url, ?string $groupUuid ?string
createMarkdownFrom string $url, ?string $groupUuid ?string
createPdfDocumentFrom string $url, ?string $groupUuid ?string
createFormattedNoteFrom string $url, ?string $groupUuid ?string
downloadUrl string $url, ?string $groupUuid ?string
downloadMarkupFrom string $url string
addDownload string $url void
addReadingList string $url void
getCachedDataForUrl string $url string
startDownloads — bool
stopDownloads — bool

Conversion

Method Parameters Returns
convert string $uuid, string $toType, ?string $groupUuid ?string
convertFeedToHtml string $uuid string
convertImage string $uuid, ?string $groupUuid ?string

Text & OCR

Method Parameters Returns
savePlainTextToRecord string $text, string $uuid void
extractKeywordsFrom string $text string
ocr string $uuid, ?string $groupUuid ?string

Database Operations

Method Parameters Returns
createDatabase string $path ?string
openDatabase string $path ?string
optimize string $databaseName bool
verify string $databaseName int
checkFileIntegrityOf string $uuid int
compress string $databaseName bool
synchronize ?string $uuid, ?string $databaseName bool
createLocation string $path, ?string $databaseName ?string

Thumbnails

Method Parameters Returns
createThumbnail string $uuid bool
deleteThumbnail string $uuid bool
updateThumbnail string $uuid bool

Versions

Method Parameters Returns
getVersionsOf string $uuid array
saveVersionOf string $uuid ?string
restoreRecordWith string $versionUuid bool

AI & Chat (DEVONthink 4 only)

Method Parameters Returns
getChatCapabilitiesForEngine string $engine string
getChatModelsForEngine string $engine string
getChatResponseForMessage string $message, ?string $engine, ?string $model string
downloadImageForPrompt string $prompt, ?string $engine string
summarizeText string $text, ?string $style string
summarizeAnnotationsOf array $uuids, SummaryType $type, ?string $groupUuid ?string
summarizeContentsOf array $uuids, SummaryType $type, ?string $style, ?string $groupUuid ?string
summarizeMentionsOf array $uuids, SummaryType $type, ?string $groupUuid ?string
transcribe string $uuid, ?string $language, ?bool $timestamps string

Feeds

Method Parameters Returns
getFeedItemsOf string $uuid array
getItemsOfFeed string $uuid array
refresh string $uuid bool

Sheets

Method Parameters Returns
addRow string $uuid void
deleteRowAt int $row, string $uuid void
getCellAt int $column, int $row, string $uuid string
setCellAt int $column, int $row, string $value, string $uuid bool

UI Dialogs

Method Parameters Returns
displayAuthenticationDialog string $message, ?string $title array
displayChatDialog ?string $message, ?string $title string
displayDateEditor ?string $date, ?string $title string
displayGroupSelector string $message, ?string $title, ?string $databaseName ?string
displayNameEditor string $message, ?string $title, ?string $defaultName string

UI Windows & Tabs

Method Parameters Returns
open string $uuid void
openTabFor ?string $uuid, ?string $url, ?string $referrer void
openWindowFor string $uuid, bool $force void
showSearch ?string $query void

Progress Indicator

Method Parameters Returns
showProgressIndicator string $title, ?bool $cancelButton, ?int $steps bool
stepProgressIndicator ?string $info bool
hideProgressIndicator — bool

Workspaces

Method Parameters Returns
saveWorkspace string $name bool
loadWorkspace string $name void
deleteWorkspace string $name void

Smart Rules

Method Parameters Returns
performSmartRule ?string $name, ?string $uuid, ?string $trigger bool

Imprinting

Method Parameters Returns
imprint string $uuid, ?string $configuration void
imprintConfiguration string $name string
imprinterConfigurationNames — array

Misc

Method Parameters Returns
addReminder string $uuid, ?string $alarm void
logMessage string $message, ?string $info void
pasteClipboard ?string $groupUuid ?string
make string $type, array $properties, ?string $groupUuid ?string

AppleScript

Low-level class for generating and executing AppleScript code. Use this to generate scripts without executing them, or to execute arbitrary scripts safely.

Enums

RecordType

UpdateMode

SummaryType

PlaylistExportFormat

SystemSound

Testing

Credits

License

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


All versions of pullbox with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
illuminate/collections Version ^11.0|^12.0|^13.0
rodneyrehm/plist Version ^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 pulli/pullbox contains the following files

Loading the files please wait ...