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: 2 months 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 (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T03:23:21.000Z (3 months ago)
- Last Synced: 2025-04-03T11:49:40.613Z (2 months ago)
- Topics: composer, demo, example, php, test
- Language: PHP
- Homepage: https://packagist.org/packages/remarkablemark/php-composer-test
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# php-composer-test
[](https://packagist.org/packages/remarkablemark/php-composer-test)
[](https://github.com/remarkablemark/php-composer-test/actions/workflows/test.yml)
[](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)