Skip to content

Commit

Permalink
- [X] Move to stable version to match laravel 10 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
aemaddin committed Apr 16, 2023
1 parent 9282a69 commit c13bfcd
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"php": "^8.1|^8.2",
"illuminate/contracts": "^9.0|^10.0",
"spatie/laravel-package-tools": "^1.14.2",
"zohocrm/php-sdk-3.0": "^1.0@beta"
"zohocrm/php-sdk-2.1": "^7.1"
},
"require-dev": {
"nunomaduro/collision": "^6.0",
Expand Down
6 changes: 0 additions & 6 deletions src/Commands/ZohoAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@ class ZohoAuthentication extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'zoho:authentication';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Generate OAuth url to complete the Authentication process.';

Expand All @@ -34,8 +30,6 @@ public function __construct()

/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
Expand Down
11 changes: 0 additions & 11 deletions src/Commands/ZohoInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,16 @@ class ZohoInstallCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'zoho:install';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Install Zoho resources';

/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
Expand All @@ -34,18 +28,13 @@ public function __construct()

/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->comment('Generate Zoho OAuth files ...');
Storage::disk('local')->put('zoho/oauth/logs/ZCRMClientLibrary.log', '');
Storage::disk('local')->put('zoho/oauth/tokens/zcrm_oauthtokens.txt', '');

// $this->comment('Publishing Zoho Configuration ...');
// $this->callSilent('vendor:publish', ['--tag' => 'zoho-config']);

$this->info('Zoho scaffolding installed successfully.');
}
}
7 changes: 0 additions & 7 deletions src/Commands/ZohoSetupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,16 @@ class ZohoSetupCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'zoho:grant {token? : generate grant token from https://accounts.zoho.com/developerconsole}';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Setup zoho credentials in case you used Self-Client OAuth method';

/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
Expand All @@ -35,7 +29,6 @@ public function __construct()
/**
* Execute the console command.
*
* @return mixed
* @throws SDKException
*/
public function handle()
Expand Down
2 changes: 1 addition & 1 deletion src/Zoho.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Zoho
/**
* The Zoho library version.
*/
public const VERSION = '1.1.2';
public const VERSION = '2.0.1';

/**
* Indicates if Zoho migrations will be run.
Expand Down

0 comments on commit c13bfcd

Please sign in to comment.