Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remarkablemark/php-composer-test
:elephant: PHP Composer Test
https://github.com/remarkablemark/php-composer-test
composer demo example php test
Last synced: 3 days ago
JSON representation
:elephant: PHP Composer Test
- Host: GitHub
- URL: https://github.com/remarkablemark/php-composer-test
- Owner: remarkablemark
- License: mit
- Created: 2023-08-06T00:41:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-29T02:41:33.000Z (8 months ago)
- Last Synced: 2024-10-11T15:13:24.161Z (27 days ago)
- Topics: composer, demo, example, php, test
- Language: PHP
- Homepage: https://packagist.org/packages/remarkablemark/php-composer-test
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# php-composer-test
[![packagist](https://img.shields.io/packagist/v/remarkablemark/php-composer-test)](https://packagist.org/packages/remarkablemark/php-composer-test)
[![test](https://github.com/remarkablemark/php-composer-test/actions/workflows/test.yml/badge.svg)](https://github.com/remarkablemark/php-composer-test/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/remarkablemark/php-composer-test/branch/master/graph/badge.svg?token=NkVwvHqXqm)](https://codecov.io/gh/remarkablemark/php-composer-test)PHP Composer Test. See [Replit demo](https://replit.com/@remarkablemark/php-composer-test#main.php).
## Requirements
PHP >=7
## Install
Install with [Composer](http://getcomposer.org/):
```sh
composer require remarkablemark/php-composer-test
```## Usage
Autoload:
```php
require_once 'vendor/autoload.php';
```Use namespace:
```php
use Remarkablemark\PhpComposerTest\PhpComposerTest;$test = new PhpComposerTest();
echo $test->say(); // 'Hello, world!'
```Or instantiate class:
```php
$test = new \Remarkablemark\PhpComposerTest\PhpComposerTest();
echo $test->say('Mark'); // 'Hello, Mark!'
```## License
[MIT](LICENSE)