Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tiktoken Php Laravel Package

mehrab-wj/tiktoken-php

A PHP port of OpenAI's tiktoken tokenizer for fast, accurate BPE token counting. Supports GPT-4, GPT-3.5, and other model encodings, so you can count tokens and estimate API costs directly in Laravel or plain PHP without extra services.

Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
mis3085/tiktoken-for-laravel 0.86 TikToken for Laravel brings OpenAI's tiktoken tokenizer to your app, letting you count, encode, and decode tokens for GPT models through a simple facade. Estimate API costs, trim prompts to fit context limits, and integrate token counts into validation, logging, or usage tracking. 27 — 6 — 0 10.5 — MIT 6 months ago
View on GitHub
blinq/openai 0.85 A Laravel-friendly wrapper around the OpenAI API, making it easy to send chat completions, generate embeddings, and call other endpoints from your PHP applications. It includes configuration, facades, and a clean, expressive interface that fits naturally into Laravel projects. 7 7 1 1K 0 0.1 30.7 — 2 years ago
View on GitHub
openai-php/laravel 0.85 Community-maintained Laravel integration for the OpenAI API. Install via Composer, run php artisan openai:install to publish config, then use the OpenAI facade to call models, responses, and other endpoints. 3,760 3,764 267 1M 5 56.5 44.9 MIT 6 days ago
View on GitHub
Context7
nlp-tools/nlp-tools 0.85 NLP Tools is a PHP library for natural language processing, with tokenizers, stemmers, part-of-speech tagging, and classification tools. Its simple, extensible API makes it easy to add text analysis features to PHP and Laravel applications. 762 773 153 9K 6 10.9 19.9 WTFPL —
View on GitHub
orhanerday/open-ai 0.85 A popular PHP SDK for OpenAI's API, orhanerday/open-ai offers simple methods for ChatGPT, GPT-4, DALL-E, Whisper, embeddings, and moderation. Framework-agnostic with Laravel support, streaming, and easy Composer installation. 2,361 — 292 — 0 40.0 — MIT 2 weeks ago
vaites/php-apache-tika 0.85 PHP bindings for Apache Tika that extract text, HTML, and metadata from documents, images, and other formats. Run the JAR via CLI or use the faster Tika server mode over HTTP. Supports local and remote resources, OCR, and Apache Tika 1.15+. 117 119 22 24K 0 10.2 31.9 MIT 1 year ago
View on GitHub
iteks/laravel-openai 0.85 A Laravel wrapper for the OpenAI API that makes it easy to configure credentials and send fluent requests to GPT models. Add text generation, chat, and other AI capabilities to your Laravel apps with minimal setup, using a simple facade and config-driven integration. 8 — 2 — 0 0.4 — MIT 1 year ago
View on GitHub
asyntai/bagisto-chatbot 0.85 Adds an AI-powered chat assistant to Bagisto storefronts, giving shoppers instant answers to product and order questions. Install via Composer, add your API credentials, and embed the chat widget with minimal configuration. 0 0 0 0 0 1.9 — MIT 11 months ago
View on GitHub
yethee/tiktoken 0.84 This PHP port of OpenAI's tiktoken lets you encode text into tokens for models like gpt-3.5-turbo and any BPE encoding such as p50k_base. Includes vocabulary caching by default and an experimental FFI lib mode for faster encoding of larger texts. 166 167 28 284K 4 14.2 48.1 MIT 7 months ago
View on GitHub
subhashladumor1/laravel-ai-guard 0.84 — 30 29 0 21 0 6.3 3.3 MIT 8 months ago
View on GitHub
yooper/php-text-analysis 0.84 PHP Text Analysis provides Information Retrieval and NLP tools in PHP: tokenization, normalization, stemming, frequency and n-gram analysis, document comparison, sentiment and classification, collocations (PMI), lexical diversity, corpus analysis, and summarization. 534 542 91 13K 8 16.6 21.6 MIT 1 year ago
View on GitHub
funstaff/tika-bundle 0.84 A Symfony bundle that integrates Apache Tika to extract text and metadata from documents such as PDFs, Office files, and images. It provides service configuration and a simple way to add content extraction to PHP applications, useful for search indexing and document processing workflows. 1 1 1 0 0 0.0 — MIT —
View on GitHub
amarenkov/laravel-mutable-content-ai 0.84 A Laravel package for working with mutable AI-generated content, letting you store, edit, and refresh model output while keeping it versioned and easy to manage in your application. 0 — 0 — 0 19.9 — MIT 1 week ago
View on GitHub
telegram-bot-sdk/telegram-bot-sdk 0.84 An elegant PHP SDK for the Telegram Bot API with first-class Laravel support. It covers webhooks, commands, inline keyboards, conversations, and file uploads through a clean, testable interface, letting you build and ship Telegram bots faster with far less boilerplate. 340 337 43 875 9 5.6 10.6 BSD-3-Clause —
View on GitHub
Context7
grok-php/client 0.84 Lightweight, framework-agnostic PHP 8.2+ client for Grok AI APIs. Type-safe OOP design with enums, streaming support, and minimal dependencies. Includes chat and vision analysis examples, configurable options, and robust error handling. 31 31 10 757 2 2.1 20.3 MIT 1 year ago
View on GitHub
Context7
muradbdinfo/laravelai 0.84 Unified AI chat interface for Laravel with pluggable providers (Ollama, OpenAI/ChatGPT, Anthropic/Claude, DeepSeek). Includes quick setup, configuration, real-world examples, chat app integration, API reference, and built-in RAG support. 1 1 0 1 0 0.0 2.4 MIT —
View on GitHub
Context7
shrikeh/teapot 0.84 Teapot is a PHP library for building and manipulating HAL+JSON hypermedia APIs. It offers straightforward classes for resources, links and collections, making it easy to model and serialise RESTful responses that follow the HAL specification. 273 — 16 — 1 2.0 — MIT 2 years ago
iboldurev/api-ai-php 0.84 A PHP client for the API.AI (Dialogflow) natural language service, letting you add intent detection, entity recognition, and conversational agents to PHP or Laravel apps through a simple, expressive API. 162 — 59 — 8 5.1 3.4 MIT 9 years ago
ezsystems/apache-tika-bundle 0.84 Symfony bundle that integrates the php-apache-tika library, letting you extract text and metadata from documents through a simple apache_tika.client service. Configure either a remote tika-server host and port or a local tika-app JAR path. 2 2 1 2K 0 0.0 26.5 MIT —
View on GitHub
lolli42/finediff 0.83 Create HTML diffs between two strings with fine-grained character or word comparison. Outputs / markup, escapes HTML entities, supports multibyte strings, and exposes internal opcodes for diff processing. PHP 8.2+ in v1.1. 13 13 3 489K 0 3.3 55.6 MIT 1 year ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager