Installation

Requirements

Before starting, make sure your environment has:

  • PHP 8.4 or higher
  • Composer (for dependency management and PSR-4 autoload)

Step by step

1. Install the package via Composer

In your project directory, run:

composer require silvaleal/bypc

This will add BYPC as a dependency in your composer.json and download the package into the vendor/ folder.

2. Create the entry file

After installation, create an entry file at the project root (for example, bypc.php). This will be the script you call from the terminal.

Grab your base code

Tip: if you prefer another name for the entry file (for example console.php or cli.php), just adjust the path in the commands below. The important thing is to keep the contents.

3. Test the installation

Run the help command to list the available commands:

php bypc.php help

Next steps