diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 2c6a3e1..314f8e0 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Ask a Question
- url: https://github.com/rxcod9/joy-voyager-import/discussions/new?category=q-a
+ url: https://github.com/rxcod9/joy-voyager-bulk-update/discussions/new?category=q-a
about: Ask the community for help
- name: Feature Request
- url: https://github.com/rxcod9/joy-voyager-import/discussions/new?category=ideas
+ url: https://github.com/rxcod9/joy-voyager-bulk-update/discussions/new?category=ideas
about: Share ideas for new features
- name: Bug Report
- url: https://github.com/rxcod9/joy-voyager-import/issues/new
+ url: https://github.com/rxcod9/joy-voyager-bulk-update/issues/new
about: Report a reproducable bug
diff --git a/README.md b/README.md
index f6113d3..5ede040 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
-# Joy VoyagerImport
+# Joy VoyagerBulkUpdate
-This [Laravel](https://laravel.com/)/[Voyager](https://voyager.devdojo.com/) module adds VoyagerImport support to Voyager.
+This [Laravel](https://laravel.com/)/[Voyager](https://voyager.devdojo.com/) module adds VoyagerBulkUpdate support to Voyager.
By 🐼 [Ramakant Gangwar](https://github.com/rxcod9).
-[![Screenshot](https://raw.githubusercontent.com/rxcod9/joy-voyager-import/main/cover.jpg)](https://joy-voyager.herokuapp.com/)
+[![Screenshot](https://raw.githubusercontent.com/rxcod9/joy-voyager-bulk-update/main/cover.jpg)](https://joy-voyager.herokuapp.com/)
-[![Latest Version](https://img.shields.io/github/v/release/rxcod9/joy-voyager-import?style=flat-square)](https://github.com/rxcod9/joy-voyager-import/releases)
-![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rxcod9/joy-voyager-import/run-tests?label=tests)
-[![Total Downloads](https://img.shields.io/packagist/dt/joy/voyager-import.svg?style=flat-square)](https://packagist.org/packages/joy/voyager-import)
+[![Latest Version](https://img.shields.io/github/v/release/rxcod9/joy-voyager-bulk-update?style=flat-square)](https://github.com/rxcod9/joy-voyager-bulk-update/releases)
+![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rxcod9/joy-voyager-bulk-update/run-tests?label=tests)
+[![Total Downloads](https://img.shields.io/packagist/dt/joy/voyager-bulk-update.svg?style=flat-square)](https://packagist.org/packages/joy/voyager-bulk-update)
---
@@ -24,13 +24,13 @@ By 🐼 [Ramakant Gangwar](https://github.com/rxcod9).
```bash
# 1. Require this Package in your fresh Laravel/Voyager project
-composer require joy/voyager-import
+composer require joy/voyager-bulk-update
# 2. Publish everything
-php artisan vendor:publish --provider="Joy\VoyagerImport\VoyagerImportServiceProvider" --force
+php artisan vendor:publish --provider="Joy\VoyagerBulkUpdate\VoyagerBulkUpdateServiceProvider" --force
# 3. OR Publish Voyager overrided actions blade [MANDATORY STEP FOR IMPORT BULK BUTTON TO WORK]
-php artisan vendor:publish --provider="Joy\VoyagerImport\VoyagerImportServiceProvider" --tag=voyager-actions-views --force
+php artisan vendor:publish --provider="Joy\VoyagerBulkUpdate\VoyagerBulkUpdateServiceProvider" --tag=voyager-actions-views --force
```
---
@@ -43,7 +43,7 @@ Installation generates.
+In order to override views delivered by Voyager DataTable, copy contents from ``vendor/joy/voyager-bulk-update/resources/views`` to the ``views/vendor/joy-voyager-bulk-update`` directory of your Laravel installation. -->
## Working Example
@@ -51,7 +51,7 @@ You can try laravel demo here [https://joy-voyager.herokuapp.com/admin/users](ht
## Documentation
-Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the joy voyager-import? Feel free to [create an issue on GitHub](https://github.com/rxcod9/joy-voyager-import/issues), we'll try to address it as soon as possible.
+Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the joy voyager-bulk-update? Feel free to [create an issue on GitHub](https://github.com/rxcod9/joy-voyager-bulk-update/issues), we'll try to address it as soon as possible.
If you've found a bug regarding security please mail [gangwar.ramakant@gmail.com](mailto:gangwar.ramakant@gmail.com) instead of using the issue tracker.
diff --git a/composer.json b/composer.json
index 290a470..4ebb1f1 100644
--- a/composer.json
+++ b/composer.json
@@ -1,16 +1,16 @@
{
- "name": "joy/voyager-import",
- "description": "This Laravel/Voyager module adds VoyagerImport support to Voyager.",
+ "name": "joy/voyager-bulk-update",
+ "description": "This Laravel/Voyager module adds VoyagerBulkUpdate support to Voyager.",
"keywords": [
"joy",
- "voyager-import",
- "joy-voyager-import",
- "voyager-voyager-import",
+ "voyager-bulk-update",
+ "joy-voyager-bulk-update",
+ "voyager-voyager-bulk-update",
"cms",
"voyager",
"laravel"
],
- "homepage": "https://github.com/rxcod9/joy-voyager-import",
+ "homepage": "https://github.com/rxcod9/joy-voyager-bulk-update",
"license": "MIT",
"authors": [{
"name": "Ramakant Gangwar",
@@ -36,7 +36,7 @@
},
"autoload": {
"psr-4": {
- "Joy\\VoyagerImport\\": "src"
+ "Joy\\VoyagerBulkUpdate\\": "src"
},
"files": [
"src/helper.php"
@@ -48,14 +48,14 @@
},
"autoload-dev": {
"psr-4": {
- "Joy\\VoyagerImport\\Tests\\": "tests"
+ "Joy\\VoyagerBulkUpdate\\Tests\\": "tests"
}
},
"extra": {
"laravel": {
"providers": [
- "Joy\\VoyagerImport\\VoyagerImportServiceProvider",
- "Joy\\VoyagerImport\\ImportServiceProvider"
+ "Joy\\VoyagerBulkUpdate\\VoyagerBulkUpdateServiceProvider",
+ "Joy\\VoyagerBulkUpdate\\ImportServiceProvider"
]
}
},
diff --git a/config/voyager-import.php b/config/voyager-bulk-update.php
similarity index 62%
rename from config/voyager-import.php
rename to config/voyager-bulk-update.php
index ec56186..9e12e71 100644
--- a/config/voyager-import.php
+++ b/config/voyager-bulk-update.php
@@ -3,14 +3,14 @@
return [
/*
- * If enabled for voyager-import package.
+ * If enabled for voyager-bulk-update package.
*/
- 'enabled' => env('VOYAGER_IMPORT_ENABLED', true),
+ 'enabled' => env('VOYAGER_BULK_UPDATE_ENABLED', true),
/*
- * If validation enabled for voyager-import package.
+ * If validation enabled for voyager-bulk-update package.
*/
- 'validation' => env('VOYAGER_IMPORT_VALIDATION_ENABLED', false),
+ 'validation' => env('VOYAGER_BULK_UPDATE_VALIDATION_ENABLED', false),
/*
| Here you can specify for which data type slugs import is enabled
@@ -19,7 +19,7 @@
|
*/
- 'allowed_slugs' => array_filter(explode(',', env('VOYAGER_IMPORT_ALLOWED_SLUGS', '*'))),
+ 'allowed_slugs' => array_filter(explode(',', env('VOYAGER_BULK_UPDATE_ALLOWED_SLUGS', '*'))),
/*
| Here you can specify for which data type slugs import is not allowed
@@ -28,17 +28,17 @@
|
*/
- 'not_allowed_slugs' => array_filter(explode(',', env('VOYAGER_IMPORT_NOT_ALLOWED_SLUGS', ''))),
+ 'not_allowed_slugs' => array_filter(explode(',', env('VOYAGER_BULK_UPDATE_NOT_ALLOWED_SLUGS', ''))),
/*
- * The config_key for voyager-import package.
+ * The config_key for voyager-bulk-update package.
*/
- 'config_key' => env('VOYAGER_IMPORT_CONFIG_KEY', 'joy-voyager-import'),
+ 'config_key' => env('VOYAGER_BULK_UPDATE_CONFIG_KEY', 'joy-voyager-bulk-update'),
/*
- * The route_prefix for voyager-import package.
+ * The route_prefix for voyager-bulk-update package.
*/
- 'route_prefix' => env('VOYAGER_IMPORT_ROUTE_PREFIX', 'joy-voyager-import'),
+ 'route_prefix' => env('VOYAGER_BULK_UPDATE_ROUTE_PREFIX', 'joy-voyager-bulk-update'),
/*
|--------------------------------------------------------------------------
@@ -50,13 +50,13 @@
*/
'controllers' => [
- 'namespace' => 'Joy\\VoyagerImport\\Http\\Controllers',
+ 'namespace' => 'Joy\\VoyagerBulkUpdate\\Http\\Controllers',
],
/*
| The default import disk.
*/
- 'disk' => env('VOYAGER_IMPORT_DISK', null),
+ 'disk' => env('VOYAGER_BULK_UPDATE_DISK', null),
/*
| The default import readerType.
@@ -64,7 +64,7 @@
| Supported: "Xlsx", "Csv", "Ods", "Xls",
| "Slk", "Xml", "Gnumeric", "Html"
*/
- 'readerType' => env('VOYAGER_IMPORT_READER_TYPE', 'Xlsx'),
+ 'readerType' => env('VOYAGER_BULK_UPDATE_READER_TYPE', 'Xlsx'),
/*
| The default import writerType.
@@ -72,7 +72,7 @@
| Supported: "Xlsx", "Csv", "Csv", "Ods", "Xls",
| "Slk", "Xml", "Gnumeric", "Html"
*/
- 'writerType' => env('VOYAGER_IMPORT_WRITER_TYPE', 'Xlsx'),
+ 'writerType' => env('VOYAGER_BULK_UPDATE_WRITER_TYPE', 'Xlsx'),
/*
| Here you can specify which mimes are allowed to upload
@@ -81,7 +81,7 @@
|
*/
- 'allowed_mimes' => env('VOYAGER_IMPORT_ALLOWED_MIMES', 'xlsx,txt,csv,tsv,ods,xls,slk,xml,gnumeric,html'),
+ 'allowed_mimes' => env('VOYAGER_BULK_UPDATE_ALLOWED_MIMES', 'xlsx,txt,csv,tsv,ods,xls,slk,xml,gnumeric,html'),
/*
|--------------------------------------------------------------------------
diff --git a/phpunit.xml b/phpunit.xml
index 30d5d5a..216784f 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -6,7 +6,7 @@