generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91b1a0a
commit 5fd46d2
Showing
11 changed files
with
38 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github: :vendor_name | ||
github: spatie | ||
custom: :author_homepage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). | ||
|
||
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
], | ||
|
@@ -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": { | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace Spatie\Fork; | ||
|
||
class ForkClass | ||
{ | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
|