https://github.com/remarkablemark/composer-template
:elephant: Composer package template
https://github.com/remarkablemark/composer-template
composer package php template
Last synced: 4 months ago
JSON representation
:elephant: Composer package template
- Host: GitHub
- URL: https://github.com/remarkablemark/composer-template
- Owner: remarkablemark
- License: mit
- Created: 2023-12-10T03:03:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-11-24T18:06:46.000Z (7 months ago)
- Last Synced: 2025-11-28T06:27:40.682Z (7 months ago)
- Topics: composer, package, php, template
- Language: PHP
- Homepage: https://packagist.org/packages/remarkablemark/composer-template
- Size: 80.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# composer-template
[](https://packagist.org/packages/remarkablemark/composer-template)
[](https://github.com/remarkablemark/composer-template/actions/workflows/test.yml)
Composer package template
## Requirements
PHP >=7
## Install
Install with [Composer](http://getcomposer.org/):
```sh
composer require remarkablemark/composer-template
```
## Usage
Autoload:
```php
require_once 'vendor/autoload.php';
```
Use namespace:
```php
use Remarkablemark\ComposerTemplate\ClassExample;
$example = new ClassExample();
echo $example->say(); // 'Hello, world!'
```
Or instantiate class:
```php
$example = new \Remarkablemark\ComposerTemplate\ClassExample();
echo $example->say('Mark'); // 'Hello, Mark!'
```
## License
[MIT](LICENSE)