Download the PHP package tina4stack/tina4php without Composer

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

Tina4

Tina4 PHP

The Intelligent Native Application 4ramework

55 built-in features. Zero dependencies. One require, everything works.

Packagist Tests Features Zero Deps Docs

Documentation • Quick Start • Features • CLI Reference • tina4.com


Quick Start

Open http://localhost:7145 -- your app is running.

Without the Tina4 CLI Open http://localhost:7145

What's Built In (55 Features)

Every feature is built from scratch -- no bloated vendor trees, no third-party runtime dependencies in core.

Category Features
Core HTTP (7) Router with path params ({id:int}, {p:path}), Server, Request/Response, Middleware pipeline, Static file serving, CORS
Database (6) SQLite, PostgreSQL, MySQL, MSSQL, Firebird -- unified adapter, connection pooling, query cache, transactions, race-safe ID generation, SQL dialect translation
ORM (7) Active Record with typed fields, relationships (has_one/has_many/belongs_to), soft delete, QueryBuilder + MongoDB support, Auto-CRUD generator, migrations with rollback
Auth & Security (5) JWT (HS256/RS256), password hashing (PBKDF2-SHA256), API key validation, rate limiting, CSRF form tokens
Templating (3) Frond engine (Twig/Jinja2-compatible, pre-compiled 2.8x faster), SCSS auto-compilation, built-in CSS (~24 KB)
API & Integration (5) HTTP client (zero-dep), GraphQL with ORM auto-schema + GraphiQL IDE, WSDL/SOAP with auto WSDL, WebSocket (RFC 6455) + Redis backplane, MCP server (24 dev tools)
Background (3) Job queue (File/RabbitMQ/Kafka/MongoDB) with priority, delay, retry, dead letters -- service runner -- event system (on/emit/once/off)
Data & Storage (4) Session (File/Redis/Valkey/MongoDB/DB), response cache (LRU, TTL), seeder + 50+ fake data generators, messenger (SMTP/IMAP)
Developer Tools (7) Dev dashboard (11 tabs), dev toolbar, error overlay (Catppuccin Mocha), dev mailbox, hot reload + CSS hot-reload, code metrics (complexity, coupling, maintainability), AI context installer (7 tools)
Utilities (7) DI container (transient + singleton), HtmlElement builder, inline testing (@tests decorator), i18n (6 languages), Swagger/OpenAPI auto-generation, CLI scaffolding (generate model/route/migration/middleware), structured logging

2,073 tests. Zero dependencies. Full parity across Python, PHP, Ruby, and Node.js.

For full documentation visit tina4.com.


Features

Routing

Path parameters: {id}, {name}, {slug}. Middleware chaining with ->middleware([...]). Chain ->secure() to protect GET routes, ->noAuth() to make routes public.

ORM

Database

Unified interface via Database::create():

JWT Authentication

POST/PUT/PATCH/DELETE routes require Authorization: Bearer <token> by default.

Sessions

Configure via .env:

Queues

Backends: File (default), RabbitMQ, Kafka, MongoDB. Supports priority, delay, retry, and dead letters.

GraphQL

WebSocket

Supports RFC 6455, per-path routing, connection manager, broadcast, and Redis backplane for horizontal scaling.

Swagger / OpenAPI

Auto-generated at /swagger:

Event System

WSDL / SOAP

REST Client

Seeder & Fake Data

50+ generators for names, emails, addresses, dates, numbers, text, and more.

Messenger (SMTP/IMAP)

Configure via .env:

Template Engine (Frond)

Twig-compatible with pre-compilation for 2.8x faster rendering:

DI Container

Inline Testing

i18n (Localization)

JSON translation files with placeholder interpolation. Supports 6 languages out of the box.

HtmlElement Builder


Dev Mode

Set TINA4_DEBUG=true in .env to enable:


CLI Reference

Or via Composer:


Performance

Benchmarked with wrk — 5,000 requests, 50 concurrent, median of 3 runs:

Framework JSON req/s Deps Features
Tina4 PHP 29,293 0 55
Slim 5,714 10+ ~6
Laravel 445 50+ ~25

Tina4 PHP is 5× faster than Slim and 65× faster than Laravel — with zero dependencies and 55 features built in.

Across all 4 Tina4 implementations:

Python PHP Ruby Node.js
JSON req/s 6,508 29,293 10,243 84,771
Dependencies 0 0 0 0
Features 55 55 55 55

Cross-Framework Parity

Tina4 ships the same 55 features across four languages with full test parity:

Language Package Tests (v3.11.12)
Python pip install tina4-python 2,281
PHP composer require tina4stack/tina4php 2,073
Ruby gem install tina4 2,508
Node.js npm install @tina4/core 2,897

Same routing, same ORM, same templates, same CLI, same dev tools. Learn one, deploy in any.


Environment

Key .env variables:


Zero-Dependency Philosophy

Tina4 PHP is built from the ground up with no third-party runtime dependencies in core. The framework requires only PHP 8.2+ with openssl and json extensions. Database drivers are optional and installed separately. This keeps the full deployment under 8 MB and minimizes your project's carbon footprint.


Demo Store

A complete e-commerce app lives in example/. It demonstrates every framework feature through a real-world use case.

Open http://localhost:7145

Role Email Password
Admin [email protected] admin123
Customer [email protected] customer123

See example/README.md for full details.


Documentation

Full guides, API reference, and examples at tina4.com.

License

MIT (c) 2007-2026 Tina4 Stack https://opensource.org/licenses/MIT


Tina4 — The Intelligent Native Application 4ramework
Simple. Fast. Human. · Built for AI. Built for you.


Our Sponsors

Sponsored with :blue_heart: by Code Infinity

Code Infinity

Supporting open source communities Innovate Code Empower*


All versions of tina4php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-openssl Version *
ext-json Version *
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 tina4stack/tina4php contains the following files

Loading the files please wait ...