Skip to content

Commit

Permalink
configure skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Apr 22, 2021
1 parent 91b1a0a commit 5fd46d2
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 174 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github: :vendor_name
github: spatie
custom: :author_homepage
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/:vendor_name/:package_name/discussions/new?category=q-a
url: https://github.com/spatie/fork/discussions/new?category=q-a
about: Ask the community for help
- name: Request a feature
url: https://github.com/:vendor_name/:package_name/discussions/new?category=ideas
url: https://github.com/spatie/fork/discussions/new?category=ideas
about: Share ideas for new features
- name: Report a bug
url: https://github.com/:vendor_name/:package_name/issues/new
url: https://github.com/spatie/fork/issues/new
about: Report a reproducable bug
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Security Policy

If you discover any security related issues, please email [email protected] instead of using the issue tracker.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

All notable changes to `:package_name` will be documented in this file.
All notable changes to `fork` will be documented in this file.

## 1.0.0 - 202X-XX-XX

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) :vendor_name <[email protected]>
Copyright (c) spatie <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# :package_description
# A lightweight solution for running code concurrently in PHP

[![Latest Version on Packagist](https://img.shields.io/packagist/v/vendor_slug/package_slug.svg?style=flat-square)](https://packagist.org/packages/vendor_slug/package_slug)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/vendor_slug/package_slug/run-tests?label=tests)](https://github.com/vendor_slug/package_slug/actions?query=workflow%3ATests+branch%3Amaster)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/vendor_slug/package_slug/Check%20&%20fix%20styling?label=code%20style)](https://github.com/vendor_slug/package_slug/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amaster)
[![Total Downloads](https://img.shields.io/packagist/dt/vendor_slug/package_slug.svg?style=flat-square)](https://packagist.org/packages/vendor_slug/package_slug)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/fork.svg?style=flat-square)](https://packagist.org/packages/spatie/fork)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/spatie/fork/run-tests?label=tests)](https://github.com/spatie/fork/actions?query=workflow%3ATests+branch%3Amaster)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/spatie/fork/Check%20&%20fix%20styling?label=code%20style)](https://github.com/spatie/fork/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amaster)
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/fork.svg?style=flat-square)](https://packagist.org/packages/spatie/fork)

[](delete) 1) manually replace `:author_name, :author_username, [email protected], :vendor_name, vendor_slug, Vendor Name, :package_name, package_slug, skeleton, Skeleton, :package_description` with their correct values
[](delete) in `CHANGELOG.md LICENSE.md README.md composer.json SkeletonClass.php ExampleTest.php FUNDING.yml config.yml SECURITY.md`
[](delete) and delete `configure-skeleton.sh`
[](delete) 1) manually replace `Freek Van der Herten, freekmurze, [email protected], spatie, spatie, Vendor Name, fork, fork, fork, Fork, A lightweight solution for running code concurrently in PHP` with their correct values
[](delete) in `CHANGELOG.md LICENSE.md README.md composer.json ForkClass.php ExampleTest.php FUNDING.yml config.yml SECURITY.md`
[](delete) and delete `configure-fork.sh`

[](delete) 2) You can also run `./configure-skeleton.sh` to do this automatically.
[](delete) 2) You can also run `./configure-fork.sh` to do this automatically.

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

## Support us

[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/package-skeleton-php.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/package-skeleton-php)
[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/package-fork-php.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/package-fork-php)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

Expand All @@ -26,14 +26,14 @@ We highly appreciate you sending us a postcard from your hometown, mentioning wh
You can install the package via composer:

```bash
composer require vendor_slug/package_slug
composer require spatie/fork
```

## Usage

```php
$skeleton = new VendorName\Skeleton();
echo $skeleton->echoPhrase('Hello, VendorName!');
$fork = new Spatie\Fork();
echo $fork->echoPhrase('Hello, Spatie!');
```

## Testing
Expand All @@ -56,7 +56,7 @@ Please review [our security policy](../../security/policy) on how to report secu

## Credits

- [:author_name](https://github.com/:author_username)
- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

## License
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "vendor_slug/package_slug",
"description": ":package_description",
"name": "spatie/fork",
"description": "A lightweight solution for running code concurrently in PHP",
"keywords": [
":vendor_name",
"package_slug"
"spatie",
"fork"
],
"homepage": "https://github.com/vendor_slug/package_slug",
"homepage": "https://github.com/spatie/fork",
"license": "MIT",
"authors": [
{
"name": ":author_name",
"email": "[email protected]",
"name": "Freek Van der Herten",
"email": "[email protected]",
"role": "Developer"
}
],
Expand All @@ -25,12 +25,12 @@
},
"autoload": {
"psr-4": {
"VendorName\\Skeleton\\": "src"
"Spatie\\Fork\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"VendorName\\Skeleton\\Tests\\": "tests"
"Spatie\\Fork\\Tests\\": "tests"
}
},
"scripts": {
Expand Down
136 changes: 0 additions & 136 deletions configure-skeleton.sh

This file was deleted.

7 changes: 7 additions & 0 deletions src/ForkClass.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

namespace Spatie\Fork;

class ForkClass
{
}
7 changes: 0 additions & 7 deletions src/SkeletonClass.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/ExampleTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace VendorName\Skeleton\Tests;
namespace Spatie\Fork\Tests;

use PHPUnit\Framework\TestCase;

Expand Down

0 comments on commit 5fd46d2

Please sign in to comment.