n30/laravel-evernote-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

n30/laravel-evernote-api

Composer 安装命令:

composer require n30/laravel-evernote-api

包简介

Laravel Evernote Api Laravel 11+

README 文档

README

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

{
    "require": {
        "n30/laravel-evernote-api": "^1.0"
    },
    "minimum-stability": "dev"
}

or

Require this package with composer:

composer require n30/laravel-evernote-api

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.

The package will automatically load its service provider and register the Facade: Evernote::

You can optionally, publish the config file of the package.

php artisan vendor:publish --provider="N30\LaravelEvernoteApi\Providers\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

    //simple example of all-in-one route
    Route::any('oauth/callback/evernote',function( Request $request){
        
        \Evernote::authorize();
        
    });

统计信息

  • 总下载量: 224
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-02-14