Skip to content

Commit 33f5bf9

Browse files
committed
Init
1 parent 5253159 commit 33f5bf9

File tree

17 files changed

+57
-455
lines changed

17 files changed

+57
-455
lines changed

.github/ISSUE_TEMPLATE/config.yml

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

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-users` 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 <author@domain.com>
3+
Copyright (c) Backstage <manoj@backstagephp.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

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,31 @@
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/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:
10-
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-->
1+
# This is my package laravel-users
2+
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/backstage/laravel-users.svg?style=flat-square)](https://packagist.org/packages/backstage/laravel-users)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/backstage/laravel-users/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/backstage/laravel-users/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/backstage/laravel-users/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/backstage/laravel-users/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
6+
[![Total Downloads](https://img.shields.io/packagist/dt/backstage/laravel-users.svg?style=flat-square)](https://packagist.org/packages/backstage/laravel-users)
7+
178
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
189

1910
## Installation
2011

2112
You can install the package via composer:
2213

2314
```bash
24-
composer require :vendor_slug/:package_slug
15+
composer require backstage/laravel-users
2516
```
2617

2718
You can publish and run the migrations with:
2819

2920
```bash
30-
php artisan vendor:publish --tag=":package_slug-migrations"
21+
php artisan vendor:publish --tag="laravel-users-migrations"
3122
php artisan migrate
3223
```
3324

3425
You can publish the config file with:
3526

3627
```bash
37-
php artisan vendor:publish --tag=":package_slug-config"
28+
php artisan vendor:publish --tag="laravel-users-config"
3829
```
3930

4031
This is the contents of the published config file:
@@ -47,14 +38,14 @@ return [
4738
Optionally, you can publish the views using
4839

4940
```bash
50-
php artisan vendor:publish --tag=":package_slug-views"
41+
php artisan vendor:publish --tag="laravel-users-views"
5142
```
5243

5344
## Usage
5445

5546
```php
56-
$variable = new VendorName\Skeleton();
57-
echo $variable->echoPhrase('Hello, VendorName!');
47+
$laravelUsers = new LaravelUsers\LaravelUsers();
48+
echo $laravelUsers->echoPhrase('Hello, LaravelUsers!');
5849
```
5950

6051
## Testing
@@ -77,7 +68,7 @@ Please review [our security policy](../../security/policy) on how to report secu
7768

7869
## Credits
7970

80-
- [:author_name](https://github.com/:author_username)
71+
- [Manoj Hortulanus](https://github.com/arduinomaster22)
8172
- [All Contributors](../../contributors)
8273

8374
## License

composer.json

Lines changed: 14 additions & 16 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": "backstage/laravel-users",
3+
"description": "This is my package laravel-users",
44
"keywords": [
5-
":vendor_name",
5+
"Backstage",
66
"laravel",
7-
":package_slug"
7+
"laravel-users"
88
],
9-
"homepage": "https://github.com/:vendor_slug/:package_slug",
9+
"homepage": "https://github.com/backstage/laravel-users",
1010
"license": "MIT",
1111
"authors": [
1212
{
13-
"name": ":author_name",
14-
"email": "author@domain.com",
13+
"name": "Manoj Hortulanus",
14+
"email": "manoj@backstagephp.com",
1515
"role": "Developer"
1616
}
1717
],
@@ -35,19 +35,19 @@
3535
},
3636
"autoload": {
3737
"psr-4": {
38-
"VendorName\\Skeleton\\": "src/",
39-
"VendorName\\Skeleton\\Database\\Factories\\": "database/factories/"
38+
"LaravelUsers\\LaravelUsers\\": "src/",
39+
"LaravelUsers\\LaravelUsers\\Database\\Factories\\": "database/factories/"
4040
}
4141
},
4242
"autoload-dev": {
4343
"psr-4": {
44-
"VendorName\\Skeleton\\Tests\\": "tests/",
44+
"LaravelUsers\\LaravelUsers\\Tests\\": "tests/",
4545
"Workbench\\App\\": "workbench/app/"
4646
}
4747
},
4848
"scripts": {
4949
"post-autoload-dump": "@composer run prepare",
50-
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
50+
"clear": "@php vendor/bin/testbench package:purge-laravel-users --ansi",
5151
"prepare": "@php vendor/bin/testbench package:discover --ansi",
5252
"build": [
5353
"@composer run prepare",
@@ -73,13 +73,11 @@
7373
"extra": {
7474
"laravel": {
7575
"providers": [
76-
"VendorName\\Skeleton\\SkeletonServiceProvider"
76+
"LaravelUsers\\LaravelUsers\\LaravelUsersServiceProvider"
7777
],
78-
"aliases": {
79-
"Skeleton": "VendorName\\Skeleton\\Facades\\Skeleton"
80-
}
78+
"aliases": {}
8179
}
8280
},
8381
"minimum-stability": "dev",
8482
"prefer-stable": true
85-
}
83+
}

config/skeleton.php

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

config/users.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 LaravelUsers/LaravelUsers
4+
return [
5+
6+
];

0 commit comments

Comments
 (0)