ishannz/laravel-evernote-cloud

Laravel wrapper for Evernote Cloud

2.0.4 2021-09-03 22:38 UTC

This package is auto-updated.

Last update: 2024-03-29 03:19:22 UTC


README

The Evernote cloud Service Provider can be installed via Composer by requiring the ishannz/laravel-evernote-cloud package and setting the minimum-stability to dev (required for Laravel 5) in your project's composer.json.

{
    "require": {
        "ishannz/laravel-evernote-cloud": "^2.0"
    },
    "minimum-stability": "dev"
}

or

Require this package with composer:

composer require ishannz/laravel-evernote-cloud

Update your composer.json file to include this package as a dependency

Update your packages with composer update or install with composer install.

In Windows, you'll need to include the GD2 DLL php_gd2.dll as an extension in php.ini.

Usage

To use the Evernote Cloud Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this.

Find the providers key in config/app.php and register the Captcha Service Provider.

    'providers' => [
        // ...
        Ishannz\LaravelEvernote\LaravelEvernoteServiceProvider::class,
    ]

Find the aliases key in config/app.php.

    'aliases' => [
        // ...
        'Evernote' => Ishannz\LaravelEvernote\Facades\Evernote::class,
    ]

Publish the config file of the package.

php artisan vendor:publish --provider="Ishannz\LaravelEvernote\LaravelEvernoteServiceProvider" --tag=config

For Laravel 5 use 1.0.0

Configuration

You can configure this in your .env file.

	EVERNOTE_KEY=your evernote key
	EVERNOTE_SECRET=your evernote secrect
	EVERNOTE_SANDBOX=true/false
	EVERNOTE_CALL_BACK=callback url eg: /evernote/callback , ?action=callback
	EVERNOTE_CHINA=false

to receive a token - Authentication

	Evernote::authorize();