Skip to content

Commit 5779728

Browse files
committed
Create README.md
1 parent df3b3fb commit 5779728

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

README.md

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# :package_name
2+
3+
:package_description
4+
5+
## Installation
6+
7+
You can install the package via composer:
8+
9+
```bash
10+
composer require :vendor_slug/:package_slug
11+
```
12+
13+
You can publish and run the migrations with:
14+
15+
```bash
16+
php artisan vendor:publish --tag=":package_slug.migrations"
17+
php artisan migrate
18+
```
19+
20+
You can publish the config file with:
21+
22+
```bash
23+
php artisan vendor:publish --tag=":package_slug.config"
24+
```
25+
26+
This is the contents of the published config file:
27+
28+
```php
29+
return [
30+
'package-name' => :package_name
31+
];
32+
```
33+
34+
Optionally, you can publish the views using
35+
36+
```bash
37+
php artisan vendor:publish --tag=":package_slug.views"
38+
```
39+
40+
## Usage
41+
42+
```php
43+
use :vendor_namespace\:package_class_name\:package_class_name;
44+
45+
$packageDetail = (new :package_class_name)->getPackageDetail();
46+
47+
dd($packageDetail);
48+
```
49+
50+
## Testing
51+
52+
```bash
53+
composer test
54+
```
55+
56+
## Changelog
57+
58+
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
59+
60+
## Contributing
61+
62+
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
63+
64+
## Security
65+
66+
If you discover any security related issues, please email `:author_email` instead of using the issue tracker.
67+
68+
## Credits
69+
70+
- [:author_name](https://github.com/:author_username)
71+
- [All Contributors](https://github.com/:vendor_slug/:package_slug/graphs/contributors)
72+
73+
## License
74+
75+
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 commit comments

Comments
 (0)