Download the PHP package vangelis/repophp without Composer

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

# RepoPHP [![Latest Version on Packagist](https://img.shields.io/packagist/v/vangelis/repophp.svg?style=flat-square)](https://packagist.org/packages/vangelis/repophp) [![Tests](https://img.shields.io/github/actions/workflow/status/vangelis183/repophp/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/vangelis183/repophp/actions/workflows/run-tests.yml) [![Total Downloads](https://img.shields.io/packagist/dt/vangelis/repophp.svg?style=flat-square)](https://packagist.org/packages/vangelis/repophp)

RepoPHP is a PHP package that packs a repository into a single AI-friendly file for LLM processing. Similar to repomix

Demo

Installation

You can install the package via composer:

Configuration File

RepoPHP supports a configuration file to set default options. Create one of these files in your project directory:

Example configuration file:

With this configuration file in place, you can simply run:

Command-line arguments will override settings from the configuration file.

Usage

Pack Command Usage

You can use the pack command to package a local repository directory into a single file, suitable for processing by AI-based systems.

Available Options for the pack Command:

Required Arguments:

Optional Flags and Settings:

Example Usage

Local repository:

Remote Repository:

With short option names:

Complex example:

Split large repository by token count:

Incremental packing (diff mode):

This will create a diff file containing only files that have changed since the previous pack, which is especially useful for large repositories where you only want to analyze recent changes.

Breakdown:

Additional Behavior

Error Handling

The pack command gracefully handles errors such as:

If any error occurs, an appropriate error message will be shown in the console.

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

ToDos

Ideas

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you've found a bug regarding security please use the issue tracker.

Credits

License

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


All versions of repophp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
symfony/finder Version ^7.2
symfony/process Version ^7.2
ext-fileinfo Version *
ext-simplexml 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 vangelis/repophp contains the following files

Loading the files please wait ...