Skip to content

Commit 897bbbe

Browse files
Move everything
1 parent d9dc8bb commit 897bbbe

31 files changed

+624
-437
lines changed

.github/FUNDING.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: :vendor_name
1+
github: codecourse

.github/ISSUE_TEMPLATE/config.yml

+4-4
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/codecourse/laravel-popularity/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/codecourse/laravel-popularity/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/codecourse/laravel-popularity/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/codecourse/laravel-popularity/issues/new
1414
about: Report a reproducable bug

.github/SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Security Policy
22

3-
If you discover any security related issues, please email author@domain.com instead of using the issue tracker.
3+
If you discover any security related issues, please email alex@codecourse.com instead of using the issue tracker.

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

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

55
## 1.0.0 - 202X-XX-XX
66

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) :vendor_name <author@domain.com>
3+
Copyright (c) codecourse <alex@codecourse.com>
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

-93
Original file line numberDiff line numberDiff line change
@@ -1,93 +0,0 @@
1-
# :package_description
2-
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/workflow/status/:vendor_slug/:package_slug/run-tests?label=tests)](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/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%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:
10-
11-
1. Press the "Use 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).
26-
27-
## Installation
28-
29-
You can install the package via composer:
30-
31-
```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"
59-
```
60-
61-
## Usage
62-
63-
```php
64-
$variable = new VendorName\Skeleton();
65-
echo $variable->echoPhrase('Hello, VendorName!');
66-
```
67-
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](.github/CONTRIBUTING.md) for details.
81-
82-
## Security Vulnerabilities
83-
84-
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
85-
86-
## Credits
87-
88-
- [:author_name](https://github.com/:author_username)
89-
- [All Contributors](../../contributors)
90-
91-
## License
92-
93-
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

composer.json

+17-13
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": "codecourse/laravel-popularity",
3+
"description": "A package to track the popularity of your Laravel models.",
44
"keywords": [
5-
":vendor_name",
5+
"codecourse",
66
"laravel",
7-
":package_slug"
7+
"laravel-popularity"
88
],
9-
"homepage": "https://github.com/:vendor_slug/:package_slug",
9+
"homepage": "https://github.com/codecourse/laravel-popularity",
1010
"license": "MIT",
1111
"authors": [
1212
{
13-
"name": ":author_name",
14-
"email": "author@domain.com",
13+
"name": "Codecourse",
14+
"email": "alex@codecourse.com",
1515
"role": "Developer"
1616
}
1717
],
@@ -34,13 +34,13 @@
3434
},
3535
"autoload": {
3636
"psr-4": {
37-
"VendorName\\Skeleton\\": "src",
38-
"VendorName\\Skeleton\\Database\\Factories\\": "database/factories"
37+
"Codecourse\\LaravelPopularity\\": "src",
38+
"Codecourse\\LaravelPopularity\\Database\\Factories\\": "database/factories"
3939
}
4040
},
4141
"autoload-dev": {
4242
"psr-4": {
43-
"VendorName\\Skeleton\\Tests\\": "tests"
43+
"Codecourse\\LaravelPopularity\\Tests\\": "tests"
4444
}
4545
},
4646
"scripts": {
@@ -49,15 +49,19 @@
4949
"test-coverage": "vendor/bin/pest coverage"
5050
},
5151
"config": {
52-
"sort-packages": true
52+
"sort-packages": true,
53+
"allow-plugins": {
54+
"phpstan/extension-installer": true,
55+
"pestphp/pest-plugin": true
56+
}
5357
},
5458
"extra": {
5559
"laravel": {
5660
"providers": [
57-
"VendorName\\Skeleton\\SkeletonServiceProvider"
61+
"Codecourse\\LaravelPopularity\\LaravelPopularityServiceProvider"
5862
],
5963
"aliases": {
60-
"Skeleton": "VendorName\\Skeleton\\Facades\\Skeleton"
64+
"LaravelPopularity": "Codecourse\\LaravelPopularity\\Facades\\LaravelPopularity"
6165
}
6266
}
6367
},

config/skeleton.php

-5
This file was deleted.

0 commit comments

Comments
 (0)