sikessem/program

The SIKessEm PHP program

dev-main 2021-07-15 18:04 UTC

This package is auto-updated.

Last update: 2024-10-16 01:17:21 UTC


README

The SIKessEm PHP program

Installation

Use Composer to install the library with this command:

composer require sikessem/program

Or click here to download it directly in ZIP format

Usage

If you are using Composer, include the Composer autoload file. Otherwise, you can use the example below in all cases:

  1. Go to your working directory with the command cd my_working_directory where my_working_directory is your working directory
  2. Create the boot.php file (you can use the command touch boot.php)
  3. Open the new file (boot.php) in your code editor
  4. Copy and paste the code below:
<?php
/**
 * @var string The real path of program directory
 */
$working_directory = __DIR__ . DIRECTORY_SEPARATOT;

$sys = require_once $working_directory . 'init.php';

$sys->import('main');

main($sys);
  1. Run your boot file (boot.php)

Requirements

PHP 8.0.0 or above (at least 8.0.7 recommended to avoid potential bugs)

Author

SIGUI Kessé Emmanuel | GitHub | npm | Twitter | sikessem@omninf.com | sikessem.omninf.com

Security Reports

Please send any sensitive issue to sikessem@omninf.com. Thanks!

License

Program is licensed under the Apache 2.0 License - see the LICENSE file for details.

Contribution

For any contribution, please follow these steps:

  1. Clone the repository with git clone https://github.com/SIKessEm/Program.php or git remote add origin https://github.com/SIKessEm/Program.php then git branch -M main
  2. Create a new branch. Example: git checkout -b my_contribution
  3. Make your changes and send them with git push -u origin main

You will be informed of the rest.