generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae845fa
commit d567a93
Showing
24 changed files
with
152 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://github.com/spatie/laravel-support-form/discussions/new?category=q-a | ||
url: https://github.com/spatie/laravel-support-bubble/discussions/new?category=q-a | ||
about: Ask the community for help | ||
- name: Request a feature | ||
url: https://github.com/spatie/laravel-support-form/discussions/new?category=ideas | ||
url: https://github.com/spatie/laravel-support-bubble/discussions/new?category=ideas | ||
about: Share ideas for new features | ||
- name: Report a bug | ||
url: https://github.com/spatie/laravel-support-form/issues/new | ||
url: https://github.com/spatie/laravel-support-bubble/issues/new | ||
about: Report a reproducable bug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
{ | ||
"name": "spatie/laravel-support-form", | ||
"description": "A non-intrusive support form that can be displayed on any page", | ||
"name": "spatie/laravel-support-bubble", | ||
"description": "A non-intrusive support chat bubble that can be displayed on any page", | ||
"keywords": [ | ||
"spatie", | ||
"laravel", | ||
"laravel-support-form" | ||
"laravel-support-bubble" | ||
], | ||
"homepage": "https://github.com/spatie/laravel-support-form", | ||
"homepage": "https://github.com/spatie/laravel-support-bubble", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Alex Vanderbist", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
}, | ||
{ | ||
"name": "Freek Van der Herten", | ||
"email": "[email protected]", | ||
|
@@ -37,13 +42,13 @@ | |
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Spatie\\SupportForm\\": "src", | ||
"Spatie\\SupportForm\\Database\\Factories\\": "database/factories" | ||
"Spatie\\SupportBubble\\": "src", | ||
"Spatie\\SupportBubble\\Database\\Factories\\": "database/factories" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Spatie\\SupportForm\\Tests\\": "tests" | ||
"Spatie\\SupportBubble\\Tests\\": "tests" | ||
} | ||
}, | ||
"scripts": { | ||
|
@@ -56,7 +61,7 @@ | |
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Spatie\\SupportForm\\SupportFormServiceProvider" | ||
"Spatie\\SupportBubble\\SupportBubbleServiceProvider" | ||
] | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<button type="button" class="bg-purple-400 rounded-full shadow-lg w-14 h-14 text-white p-4"> | ||
@include('support-form::includes.chat-icon') | ||
@include('support-bubble::includes.chat-icon') | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/Http/Controllers/HandleSupportBubbleSubmissionController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace Spatie\SupportBubble\Http\Controllers; | ||
|
||
use Spatie\SupportBubble\Events\SupportBubbleSubmittedEvent; | ||
use Spatie\SupportBubble\Http\Requests\SupportBubbleRequest; | ||
|
||
class HandleSupportBubbleSubmissionController | ||
{ | ||
public function __invoke(SupportBubbleRequest $request) | ||
{ | ||
event(SupportBubbleSubmittedEvent::fromRequest($request)); | ||
|
||
return view('support-bubble::success'); | ||
} | ||
} |
16 changes: 0 additions & 16 deletions
16
src/Http/Controllers/HandleSupportFormSubmissionController.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Spatie\SupportBubble\Http\Requests; | ||
|
||
use Illuminate\Foundation\Http\FormRequest; | ||
|
||
class SupportBubbleRequest extends FormRequest | ||
{ | ||
public function rules() | ||
{ | ||
return config('support-bubble.rules'); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.