Download the PHP package atatusoft-ltd/ppphp-src without Composer

On this page you can find all versions of the php package atatusoft-ltd/ppphp-src. 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 ppphp-src

CI status

++PHP

++PHP (pronounced “plus plus PHP”) is a source language and compiler for PHP projects. It adds compile-time type safety and expressive language features, then emits ordinary PHP for the official PHP runtime.

Why ++PHP

++PHP is designed for gradual adoption. Existing .php files can stay in place while selected files move to .ppphp. The compiler checks both kinds of source together and builds one ordinary-PHP application for deployment.

Use ++PHP when you want stronger contracts without introducing a custom runtime:

Releases

See GitHub Releases for available versions and exact installation instructions. Release Candidates are intended for evaluation; Development releases are a separate, explicitly selected channel.

Language Highlights

Example Source And Generated PHP

++PHP source can declare local types that PHP itself does not accept:

The compiler erases the extension syntax and preserves its type contract as PHPDoc:

Generics, typed arrays, checked throws clauses, and when expressions are also compile-time features. Generated code contains ordinary PHP syntax and requires no ++PHP runtime library.

Requirements

Native compiler commands allow 512 MiB by default without changing php.ini. Set PPPHP_COMPILER_MEMORY_LIMIT_MEGABYTES once in your shell or launcher to choose another allowance. Small mixed projects remain tested at an explicit 128 MiB limit. See memory configuration.

Generated code targets PHP 8.4.

Installation

The following command requires a published Stable release of atatusoft/ppphp. Check available releases first; for a prerelease, use its exact installation instructions instead. RC-1 uses the original package name recorded in its release notes.

composer require --dev atatusoft/ppphp

This selects Stable only and does not fall back to a prerelease if none is available. To evaluate a Release Candidate or Development release, choose an exact version from its release instructions. From a repository checkout, install locked dependencies and run the compiler directly:

composer install
php bin/ppphp --help

The Composer package is atatusoft/ppphp; its command is ppphp.

Quick Start

From a project where ++PHP is installed:

vendor/bin/ppphp init
vendor/bin/ppphp composer:configure --dry-run
vendor/bin/ppphp composer:configure
composer update --lock --no-interaction --no-scripts
composer dump-autoload --optimize
vendor/bin/ppphp check
vendor/bin/ppphp build

ppphp init creates ppphp.json and the configured build/ppphp, .ppphp-cache, and stub directories. composer:configure projects root application autoload mappings to generated output while preserving their source forms for analysis.

Use ppphp check [path] to validate the complete project, a directory, or one project-owned source file. Use ppphp build [path] to compile selected .ppphp files and copy selected .php files into the configured output.

See Getting Started for a complete executable example.

Mixed PHP/++PHP Projects

Ordinary .php source retains normal PHP behavior and participates in symbol and type analysis. It is copied byte-for-byte into selected build output. .ppphp source receives the ++PHP language checks and compiles to .php in the same output tree.

Focused commands use valid unselected declarations as context without reporting unrelated errors from unselected bodies. Complete builds are intended for deployment. See PHP Interoperability.

Building And Deployment

A complete ppphp build checks the project before replacing the compiler-owned output tree. New PHP files must pass isolated PHP linting, and a failed build preserves the previous successful output. Manifests and source maps record each generated artifact.

Deploy the configured output tree with the root Composer metadata and installed dependencies. Do not execute .ppphp files directly or place hand-maintained files inside build/ppphp. See Composer Runtime Integration.

Editor Support

The repository provides bounded definition and semantic-token protocols for editor integrations. They are internal integration surfaces rather than a standalone language server. See the Editor Protocol.

Current Limitations

Documentation

Visit ppphplang.org for the public ++PHP website.

Security

Report vulnerabilities privately using the process in SECURITY.md.

Contributing

Repository contributors should read maintainer release guide before changing compiler or release behavior.

License

Licensed under the Apache License 2.0.


All versions of ppphp-src with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
composer/semver Version ^3.4
nikic/php-parser Version ^5.6
phpstan/phpstan Version ^2.2
symfony/console Version ^8.1
symfony/process Version ^8.1
phpstan/phpdoc-parser Version ^2.3
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 atatusoft-ltd/ppphp-src contains the following files

Loading the files please wait ...