Download the PHP package nowo-tech/code-review-guardian without Composer

On this page you can find all versions of the php package nowo-tech/code-review-guardian. 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 code-review-guardian

Code Review Guardian

CI Packagist Version Packagist Downloads

⭐ Found this useful? Install from Packagist and give the repository a star on GitHub if it helps your workflow.

Abandoned — This package is no longer maintained. Prefer your Git host’s native review tooling and project-local CI checks. Packagist marks nowo-tech/code-review-guardian as abandoned (composer.json → "abandoned": true).

This bundle is FrankenPHP worker mode friendly.

Features

Version information

Supported PHP ranges and dependencies are defined in docs/CHANGELOG.md.

Installation

After installation, the following files will be copied to your project:

Note: The actual implementation code runs from vendor/nowo-tech/code-review-guardian/bin/, keeping your project root clean and minimal.

Note: The wrapper script and code-review-guardian.yaml are added to your .gitignore during installation (files under docs/ installed by the plugin are not ignored automatically).

Removing the package

When you run composer remove nowo-tech/code-review-guardian, the plugin removes code-review-guardian.sh, code-review-guardian.yaml, and docs/AGENTS.md, and cleans the Code Review Guardian block from .gitignore. docs/GGA.md is not removed — delete it manually if you no longer need it.

Environment Configuration

Code Review Guardian requires a Git provider API token for posting review comments. Add it to your .env file:

See docs/TOKEN_SETUP.md for detailed step-by-step instructions on creating accounts and obtaining tokens for GitHub, GitLab, and Bitbucket.

Requirements

Configuration

Configuration is stored in code-review-guardian.yaml. The file is automatically generated based on your detected framework.

Symfony Configuration Example

Laravel Configuration Example

Git Provider Token Configuration

The configuration file references a token from your .env file:

Make sure to add your token to .env:

See docs/GGA.md for provider-specific setup instructions.

Customizing Configuration

You can edit code-review-guardian.yaml to customize Git Guardian Angel settings, AI agents configuration, and review rules according to your project needs.

AI Agents and Git Guardian Angel

Code Review Guardian supports AI-powered code review agents:

For detailed AI agent configuration instructions, see the package documentation in vendor/nowo-tech/code-review-guardian/docs/AGENTS_CONFIG.md or check the Configuration Guide in the repository.

Usage

Run code review

This will validate configuration, filter files according to your settings, and prepare for code review. Full AI-powered review integration is in active development.

Post review comment to PR/MR

This functionality is currently in development. It will post review comments to your pull request or merge request using the Git provider API once fully implemented.

Show help

Current Status

Code Review Guardian provides a complete infrastructure for code review automation:

The script currently validates configuration, filters files correctly, and is ready for AI API integration. Full review functionality is under active development.

Framework Detection

The package automatically detects your framework and installs the appropriate configuration:

Framework Detection Configuration
Symfony symfony/framework-bundle ✅ Symfony-specific
Laravel laravel/framework ✅ Laravel-specific
Yii yiisoft/yii2 or yiisoft/yii ✅ Generic
CakePHP cakephp/cakephp ✅ Generic
Laminas laminas/laminas-mvc ✅ Generic
CodeIgniter codeigniter4/framework ✅ Generic
Slim slim/slim ✅ Generic
Other Not detected ✅ Generic

Git Provider Support

Code Review Guardian is provider-agnostic and works with:

Git provider detection is planned for a future release. Currently, you can configure the provider manually in the configuration file.

Development

Using Docker (Recommended)

The project includes Docker configuration for easy development:

Without Docker

If you have PHP and Composer installed locally:

Available Make Commands

Command Description
make up Start Docker container
make down Stop Docker container
make shell Open shell in container
make install Install Composer dependencies
make test Run PHPUnit tests
make test-coverage Run tests with coverage and print the PHP Lines coverage line
make cs-check Check code style (PHP-CS-Fixer)
make cs-fix Fix code style
make rector / make rector-dry Run Rector (apply or dry-run)
make phpstan, make igor Run PHPStan
make qa Run cs-check and tests
make release-check Full pre-release pipeline (see Makefile)
make composer-sync Validate composer.json and install dependencies in the container
make clean Remove vendor, cache, and coverage artifacts
make setup-hooks Install git pre-commit hooks

Continuous Integration

The package can be integrated into your CI/CD pipeline. Example for GitHub Actions:

Related Packages

Composer Update Helper

Want to keep your dependencies up to date? Check out Composer Update Helper - a perfect complement to Code Review Guardian:

Together with Code Review Guardian, you get a complete development workflow:

  1. Composer Update Helper keeps your dependencies up to date
  2. Code Review Guardian ensures code quality in your pull requests

Documentation

Additional documentation

Provider-agnostic code review guardian for PHP projects. Works with any PHP project: Symfony, Laravel, Yii, CodeIgniter, Slim, Laminas, etc. and any Git provider: GitHub, GitLab, Bitbucket, etc.

Tests and coverage

License

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

Author

Created by Héctor Franco Aceituno at Nowo.tech


All versions of code-review-guardian with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2 <8.6
composer-plugin-api Version ^2.0
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 nowo-tech/code-review-guardian contains the following files

Loading the files please wait ...