Giter VIP home page Giter VIP logo

feedback's Introduction

Laravel 5 Admin Amazing feedback

feedback - a package that allows you to control letters that have been sent through the contact form

Documentation

Require

How to install

Install via composer

composer require selfreliance/feedback

Publish config, javascript

php artisan vendor:publish --provider=Selfreliance\\feedback\\FeedbackServiceProvider --force

Contact form

Connect script in your blade

<script src="{{ asset('js/core.js') }}"></script>

Create form

Transmit data to url (/contacts or url from config feedback) - method POST:

- name (required),
- email (required),
- subject (required),
- msg (required),
- phone

Settings captcha

Add the service provider to the providers array in config/app.php

'providers' => [
	'Greggilbert\Recaptcha\RecaptchaServiceProvider::class,
];

Add the aliases to the aliases array

'aliases' => [
	'Recaptcha' => Greggilbert\Recaptcha\Facades\Recaptcha::class,
];

Publish config

php artisan vendor:publish --provider=Greggilbert\\Recaptcha\\RecaptchaServiceProvider

In /config/recaptcha.php, enter your reCAPTCHA public and private keys

Connect captcha in your blade

@if(config('feedback.captcha') == true)
{!! \Recaptcha::render() !!}
@endif

Parser messages

Settings

Add the service provider to the providers array in config/app.php

'providers' => [
    Webklex\IMAP\Providers\LaravelServiceProvider::class,
];

Add the aliases to the aliases array

'aliases' => [
    'Client' => Webklex\IMAP\Facades\Client::class
];

Publish

php artisan vendor:publish --provider=Webklex\\IMAP\Providers\\LaravelServiceProvider

Call manually

$messages = EmailParser::getInbox(); // get all messages from mail
EmailParser::parseMessages($messages, false); // parse messages, false (EnableQuotes)
unset($messages); // unset all messages

Artisan command

php artisan email:parser // 'Parse email successfuly'

feedback's People

Contributors

lerisen avatar selfrelianceme avatar delawer avatar

Watchers

James Cloos avatar  avatar

Forkers

cehfida

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.