Download the PHP package pushinbr/pam-octane without Composer

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

# PAM Octane **Laravel Octane lifecycle, powered by Rust and Tokio.** Connect PAM's native HTTP transport to Octane while Octane keeps ownership of Laravel isolation and worker lifecycle. [![Release](https://img.shields.io/github/v/release/push-in/pam-octane?style=flat-square&label=stable)](https://github.com/push-in/pam-octane/releases) ![PHP](https://img.shields.io/badge/PHP-8.5-777BB4?style=flat-square&logo=php&logoColor=white) ![License](https://img.shields.io/github/license/push-in/pam-octane?style=flat-square) **[Documentation](https://push-in.github.io/pam-docs/laravel/overview/) · [Why this exists](#why-this-exists) · [What you can build](#what-you-can-build) · [Quick start](#quick-start) · [Issues](https://github.com/push-in/pam-octane/issues)**

Why this exists

Connect PAM's native HTTP transport to Octane while Octane keeps ownership of Laravel isolation and worker lifecycle.

Role Octane server adapter
Execution path PAM Runtime · Laravel Octane
This repository owns Transport bridge and PAM server integration
Boundary Octane remains the lifecycle authority; this is not a Laravel fork

What you can build

Quick start

The PAM documentation covers prerequisites, production setup, and the complete workflow. PAM projects keep normal manifests and lockfiles; product features stay in the package that owns them.

PAM Octane connects PAM's native HTTP transport directly to Laravel Octane's worker. Octane continues to own application isolation, lifecycle events and request cleanup; PAM owns PHP Embed, networking, streaming, supervision and Tokio-powered infrastructure.

Why this bridge exists

PAM already embeds PHP and provides a persistent native HTTP runtime. This package deliberately does not duplicate Octane's Laravel lifecycle. It adapts PAM's request and response objects to Octane's public Client contract and then uses the real Laravel\Octane\Worker.

That gives an application:

Configure

The defaults are production-safe and require no configuration. To customize limits, publish the small configuration file:

Environment variables include:

maxConcurrentRequests is intentionally fixed to 1 for Laravel. Framework managers and facades contain process-global mutable state. Scale safely with multiple supervised PAM workers instead of overriding that boundary.

Production

The package owns the Octane bridge; the PAM binary owns process supervision. For a supervised production cluster, run Artisan as the worker entrypoint:

PAM then provides crash recovery, health checks, worker recycling and generational SIGHUP reloads. Queue workers, Horizon and the scheduler remain separate supervised processes.

For systemd, copy the hardened pam-octane.service unit and place deployment-specific values in /etc/pam/pam-octane.env. The unit binds application HTTP to loopback and keeps the control plane on 127.0.0.1:3010 by default.

Workloads with different latency or memory profiles can run in isolated pools:

The Rust ingress streams HTTP and WebSocket traffic, uses segment-aware longest prefix routing, and keeps each pool's Laravel container, PHP heap, OPcache and restart boundary independent. Exactly one * fallback is required. Terminate TLS/HTTP3 at the edge when pools are enabled; internal traffic is loopback-only.

Compatibility

The maintained matrix is:

PHP Laravel Octane
8.5 (default) 12.x 2.19+
8.5 (default) 13.x 2.19+
8.4 (supported) 12.x 2.19+
8.4 (supported) 13.x 2.19+

PAM Octane requires the PAM runtime. Running php artisan pam:octane reports a clear error because ordinary PHP CLI does not contain PAM's native server.

Troubleshooting

Run these commands from the Laravel project root before opening a report:

Sanitize diagnostics: remove credentials, cookies, authorization headers, private URLs and application data.

Quality

The suite checks request marshalling, output buffers, repeated headers, cookies, streaming, HEAD, package discovery and invalid context handling. Integration tests in the PAM repository cover the native transport and Laravel runtime.

Runtime capabilities

PAM Octane is Apache-2.0 licensed.

Usage questions belong in PAM GitHub Discussions. Reproducible defects use the main PAM issue tracker, and vulnerabilities must use private GitHub Security Advisories as described in SECURITY.md.

Repository model

PAM Octane is developed in packages/octane alongside the runtime so transport and lifecycle changes can be tested atomically. It remains an independent, optional Composer package: applications that do not use Laravel or Octane do not install it.


All versions of pam-octane with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
laravel/octane Version ^2.19
pushinbr/pam-contracts Version ^1.1
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 pushinbr/pam-octane contains the following files

Loading the files please wait ...