Skip to content

Commit 84a181e

Browse files
author
Katalam
committed
Added configured configuration
1 parent 3602300 commit 84a181e

20 files changed

+76
-434
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/:vendor_name/:package_name/discussions/new?category=q-a
4+
url: https://github.com/hyperlinkgroup/laravel-json-structure/discussions/new?category=q-a
55
about: Ask the community for help
66
- name: Request a feature
7-
url: https://github.com/:vendor_name/:package_name/discussions/new?category=ideas
7+
url: https://github.com/hyperlinkgroup/laravel-json-structure/discussions/new?category=ideas
88
about: Share ideas for new features
99
- name: Report a security issue
10-
url: https://github.com/:vendor_name/:package_name/security/policy
10+
url: https://github.com/hyperlinkgroup/laravel-json-structure/security/policy
1111
about: Learn how to notify us for sensitive bugs
1212
- name: Report a bug
13-
url: https://github.com/:vendor_name/:package_name/issues/new
13+
url: https://github.com/hyperlinkgroup/laravel-json-structure/issues/new
1414
about: Report a reproducible bug

.github/workflows/update-changelog.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Changelog
22

3-
All notable changes to `:package_name` will be documented in this file.
3+
All notable changes to `laravel-json-structure` will be documented in this file.

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) :vendor_name <[email protected]>
3+
Copyright (c) hyperlink <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 9 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,29 @@
1-
# :package_description
1+
# laravel-json-structure
22

3-
[![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)
4-
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/:vendor_slug/:package_slug/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/:vendor_slug/:package_slug/actions?query=workflow%3Arun-tests+branch%3Amain)
5-
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/:vendor_slug/:package_slug/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/:vendor_slug/:package_slug/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
6-
[![Total Downloads](https://img.shields.io/packagist/dt/:vendor_slug/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor_slug/:package_slug)
7-
<!--delete-->
8-
---
9-
This repo can be used to scaffold a Laravel package. Follow these steps to get started:
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/hyperlink/laravel-json-structure.svg?style=flat-square)](https://packagist.org/packages/hyperlink/laravel-json-structure)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/hyperlinkgroup/laravel-json-structure/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/hyperlinkgroup/laravel-json-structure/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![Total Downloads](https://img.shields.io/packagist/dt/hyperlink/laravel-json-structure.svg?style=flat-square)](https://packagist.org/packages/hyperlink/laravel-json-structure)
106

11-
1. Press the "Use this template" button at the top of this repo to create a new repo with the contents of this skeleton.
12-
2. Run "php ./configure.php" to run a script that will replace all placeholders throughout all the files.
13-
3. Have fun creating your package.
14-
4. If you need help creating a package, consider picking up our <a href="https://laravelpackage.training">Laravel Package Training</a> video course.
15-
---
16-
<!--/delete-->
17-
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
18-
19-
## Support us
20-
21-
[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/:package_name.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/:package_name)
22-
23-
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).
24-
25-
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
7+
A helper package for the assert json structure test method. It will create a json structure as needed from an api endpoint of your application.
268

279
## Installation
2810

2911
You can install the package via composer:
3012

3113
```bash
32-
composer require :vendor_slug/:package_slug
33-
```
34-
35-
You can publish and run the migrations with:
36-
37-
```bash
38-
php artisan vendor:publish --tag=":package_slug-migrations"
39-
php artisan migrate
40-
```
41-
42-
You can publish the config file with:
43-
44-
```bash
45-
php artisan vendor:publish --tag=":package_slug-config"
46-
```
47-
48-
This is the contents of the published config file:
49-
50-
```php
51-
return [
52-
];
53-
```
54-
55-
Optionally, you can publish the views using
56-
57-
```bash
58-
php artisan vendor:publish --tag=":package_slug-views"
14+
composer require hyperlink/laravel-json-structure
5915
```
6016

6117
## Usage
6218

6319
```php
64-
$variable = new VendorName\Skeleton();
65-
echo $variable->echoPhrase('Hello, VendorName!');
20+
$jsonStructure = new Hyperlink\JsonStructure();
21+
echo $jsonStructure->echoPhrase('Hello, Hyperlink!');
6622
```
6723

68-
## Testing
69-
70-
```bash
71-
composer test
72-
```
73-
74-
## Changelog
75-
76-
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
77-
78-
## Contributing
79-
80-
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
81-
82-
## Security Vulnerabilities
83-
84-
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
85-
8624
## Credits
8725

88-
- [:author_name](https://github.com/:author_username)
89-
- [All Contributors](../../contributors)
26+
- [Katalam](https://github.com/Katalam)
9027

9128
## License
9229

composer.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": ":vendor_slug/:package_slug",
3-
"description": ":package_description",
2+
"name": "hyperlink/laravel-json-structure",
3+
"description": "A helper package for the assert json structure test method. It will create a json structure as needed from an api endpoint of your application",
44
"keywords": [
5-
":vendor_name",
5+
"hyperlink",
66
"laravel",
7-
":package_slug"
7+
"laravel-json-structure"
88
],
9-
"homepage": "https://github.com/:vendor_slug/:package_slug",
9+
"homepage": "https://github.com/hyperlink/laravel-json-structure",
1010
"license": "MIT",
1111
"authors": [
1212
{
13-
"name": ":author_name",
14-
"email": "[email protected]",
13+
"name": "Katalam",
14+
"email": "[email protected]",
1515
"role": "Developer"
1616
}
1717
],
@@ -30,18 +30,17 @@
3030
"phpstan/extension-installer": "^1.1",
3131
"phpstan/phpstan-deprecation-rules": "^1.0",
3232
"phpstan/phpstan-phpunit": "^1.0",
33-
"phpunit/phpunit": "^9.5",
34-
"spatie/laravel-ray": "^1.26"
33+
"phpunit/phpunit": "^9.5"
3534
},
3635
"autoload": {
3736
"psr-4": {
38-
"VendorName\\Skeleton\\": "src",
39-
"VendorName\\Skeleton\\Database\\Factories\\": "database/factories"
37+
"Hyperlink\\JsonStructure\\": "src",
38+
"Hyperlink\\JsonStructure\\Database\\Factories\\": "database/factories"
4039
}
4140
},
4241
"autoload-dev": {
4342
"psr-4": {
44-
"VendorName\\Skeleton\\Tests\\": "tests"
43+
"Hyperlink\\JsonStructure\\Tests\\": "tests"
4544
}
4645
},
4746
"scripts": {
@@ -61,13 +60,13 @@
6160
"extra": {
6261
"laravel": {
6362
"providers": [
64-
"VendorName\\Skeleton\\SkeletonServiceProvider"
63+
"Hyperlink\\JsonStructure\\JsonStructureServiceProvider"
6564
],
6665
"aliases": {
67-
"Skeleton": "VendorName\\Skeleton\\Facades\\Skeleton"
66+
"JsonStructure": "Hyperlink\\JsonStructure\\Facades\\JsonStructure"
6867
}
6968
}
7069
},
7170
"minimum-stability": "dev",
7271
"prefer-stable": true
73-
}
72+
}

config/json-structure.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
// config for Hyperlink/JsonStructure
4+
return [
5+
6+
];

config/skeleton.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)