vivephp/skeleton

📦️ Vive library builder template.

v0.0.0 2023-06-09 00:31 UTC

This package is auto-updated.

Last update: 2024-05-09 02:44:03 UTC


README

Vive Logo

php-icon packagist-version-icon packagist-download-icon license-icon actions-icon pr-icon twitter-icon

📦️ Vive Skeleton

Create a new Vive project based on this template.

🔖 Contents

📋 Requirements

  • Requires PHP 8.1+ (at least 8.1.19 recommended to avoid potential bugs).
  • Requires Composer v2+ to manage PHP dependencies.

🎉 Getting Started

⚡️ Installation

Use this template or create a new Vive library via the Composer create-project command (recommended):

composer create-project vivephp/skeleton --prefer-source my-lib

🧑‍💻 Usage

<?php

use Vive\Skeleton\Program;

$vendor_dir = __DIR__.'/vendor'; // Replace it by your vendor directory

include_once $vendor_dir.'/autoload.php';

Program::main(); // Print "Hello World!"

🧪 Testing and debugging

🧹 Keep a modern codebase with Pint:

composer lint

⚗️ Run static analysis:

  • Using PHPStan:
composer analyse
  • Using Psalm:
composer inspect

✅ Run unit tests using PEST

composer test

🐛 Check all code bugs:

composer debug

🚀 Fix the entire code:

composer fix

📖 Documentation

The full documentation for the Vive Skeleton can be found on this address.

👏 Contribution

The main purpose of this repository is to continue evolving Vive. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Vive.

👷 Code of Conduct

Vive has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

👥 Contributing Guide

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Vive.

🔒️ Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

💬 Discussions

Larger discussions and proposals are discussed in Vive's GitHub discussions.

🔐 Security Reports

If you discover a security vulnerability within Vive, please email SIGUI Kessé Emmanuel at contact@sigui.ci. All security vulnerabilities will be promptly addressed.

📄 License

The Vive Skeleton is open-sourced software licensed under the MIT License - see the LICENSE file for details.

Made with ❤︎ by @siguici.