Skip to content

Commit 945b5de

Browse files
committed
configured project name
1 parent 2f10fba commit 945b5de

19 files changed

+78
-345
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_name/:package_name/discussions/new?category=q-a
4+
url: https://github.com/hamidRrj/laravel-datatable/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/hamidRrj/laravel-datatable/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/hamidRrj/laravel-datatable/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-datatable` 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) hamidRrj <hamidranjbarpour771@gmail.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: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Laravel React Datatable
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)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/hamidrrj/laravel-datatable.svg?style=flat-square)](https://packagist.org/packages/hamidrrj/laravel-datatable)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/hamidrrj/laravel-datatable/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/hamidrrj/laravel-datatable/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/hamidrrj/laravel-datatable/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/hamidrrj/laravel-datatable/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
6+
[![Total Downloads](https://img.shields.io/packagist/dt/hamidrrj/laravel-datatable.svg?style=flat-square)](https://packagist.org/packages/hamidrrj/laravel-datatable)
77

88
This package is implemented for dealing with Material React Table queries.
99
It contains various search logics for different datatypes (numeric, text, date):
@@ -21,20 +21,20 @@ You can add custom your own search logic and datatype with ease :)
2121
You can install the package via composer:
2222

2323
```bash
24-
composer require :vendor_slug/:package_slug
24+
composer require hamidrrj/laravel-datatable
2525
```
2626

2727
You can publish and run the migrations with:
2828

2929
```bash
30-
php artisan vendor:publish --tag=":package_slug-migrations"
30+
php artisan vendor:publish --tag="laravel-datatable-migrations"
3131
php artisan migrate
3232
```
3333

3434
You can publish the config file with:
3535

3636
```bash
37-
php artisan vendor:publish --tag=":package_slug-config"
37+
php artisan vendor:publish --tag="laravel-datatable-config"
3838
```
3939

4040
This is the contents of the published config file:
@@ -47,14 +47,14 @@ return [
4747
Optionally, you can publish the views using
4848

4949
```bash
50-
php artisan vendor:publish --tag=":package_slug-views"
50+
php artisan vendor:publish --tag="laravel-datatable-views"
5151
```
5252

5353
## Usage
5454

5555
```php
56-
$variable = new VendorName\Skeleton();
57-
echo $variable->echoPhrase('Hello, VendorName!');
56+
$laravelDatatable = new HamidRrj\LaravelDatatable();
57+
echo $laravelDatatable->echoPhrase('Hello, HamidRrj!');
5858
```
5959

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

7878
## Credits
7979

80-
- [:author_name](https://github.com/:author_username)
80+
- [Hamidreza Ranjbarpour](https://github.com/hamidrezaRanjbarpour)
8181
- [All Contributors](../../contributors)
8282

8383
## License

composer.json

Lines changed: 15 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": "hamidrrj/laravel-datatable",
3+
"description": "Laravel DataTable is a package for handling server-side work of any table-like data with ease!",
44
"keywords": [
5-
":vendor_name",
5+
"hamidRrj",
66
"laravel",
7-
":package_slug"
7+
"laravel-datatable"
88
],
9-
"homepage": "https://github.com/:vendor_slug/:package_slug",
9+
"homepage": "https://github.com/hamidrrj/laravel-datatable",
1010
"license": "MIT",
1111
"authors": [
1212
{
13-
"name": ":author_name",
14-
"email": "author@domain.com",
13+
"name": "Hamidreza Ranjbarpour",
14+
"email": "hamidranjbarpour771@gmail.com",
1515
"role": "Developer"
1616
}
1717
],
@@ -30,24 +30,23 @@
3030
"pestphp/pest-plugin-laravel": "^2.0",
3131
"phpstan/extension-installer": "^1.1",
3232
"phpstan/phpstan-deprecation-rules": "^1.0",
33-
"phpstan/phpstan-phpunit": "^1.0",
34-
"spatie/laravel-ray": "^1.26"
33+
"phpstan/phpstan-phpunit": "^1.0"
3534
},
3635
"autoload": {
3736
"psr-4": {
38-
"VendorName\\Skeleton\\": "src/",
39-
"VendorName\\Skeleton\\Database\\Factories\\": "database/factories/"
37+
"HamidRrj\\LaravelDatatable\\": "src/",
38+
"HamidRrj\\LaravelDatatable\\Database\\Factories\\": "database/factories/"
4039
}
4140
},
4241
"autoload-dev": {
4342
"psr-4": {
44-
"VendorName\\Skeleton\\Tests\\": "tests/",
43+
"HamidRrj\\LaravelDatatable\\Tests\\": "tests/",
4544
"Workbench\\App\\": "workbench/app/"
4645
}
4746
},
4847
"scripts": {
4948
"post-autoload-dump": "@composer run prepare",
50-
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
49+
"clear": "@php vendor/bin/testbench package:purge-laravel-datatable --ansi",
5150
"prepare": "@php vendor/bin/testbench package:discover --ansi",
5251
"build": [
5352
"@composer run prepare",
@@ -73,13 +72,13 @@
7372
"extra": {
7473
"laravel": {
7574
"providers": [
76-
"VendorName\\Skeleton\\SkeletonServiceProvider"
75+
"HamidRrj\\LaravelDatatable\\LaravelDatatableServiceProvider"
7776
],
7877
"aliases": {
79-
"Skeleton": "VendorName\\Skeleton\\Facades\\Skeleton"
78+
"LaravelDatatable": "HamidRrj\\LaravelDatatable\\Facades\\LaravelDatatable"
8079
}
8180
}
8281
},
8382
"minimum-stability": "dev",
8483
"prefer-stable": true
85-
}
84+
}

config/datatable.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 HamidRrj/LaravelDatatable
4+
return [
5+
6+
];

config/skeleton.php

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

0 commit comments

Comments
 (0)