organit/google

google Login - Mail - Drive and more...

0.0.1 2018-10-08 18:50 UTC

This package is auto-updated.

Last update: 2024-11-09 14:29:51 UTC


README

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

phpunit --test-suffix ContactTest.php phpunit --filter it_fetch_the_invoices_for_a_given_contact

##istallation !!!!! marche composer require organit/google

app/config App\Providers\RouteServiceProvider::class,

usage

Zoho::organization()->get()

--

$PICAFLOR = Zoho::organization()->init('84525121'); //organization_id $contacts = $PICAFLOR->contacts()->index()['data'];

Contributing

Organit

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

1 - Creer repertoire ; /Packages/Organit/zoho 2 - terminal : cd Packages/Organit/zoho 3 - terminal composer init 4 - copier le dossier src depuis l'exemple (ici) 5 - custumize 6 - Modifier composer.json (main) ... "autoload": { "classmap": [ "database" ], "psr-4": { "App\": "app/", "Organit\Zoho\"::"Packages/Organit/Zoho" } }, ... 7 - composer dump-autoload from main directory 8 - Ajouter le serviceprovider dans config/app : Organit\Zoho\ZohoServiceProvider::class, +facade 'Zoho' => Organit\Zoho\ZohoFacade::class, 9 - cd Packages/Organit/Zoho > git init

10 - recuperer l'url de github pour la coller dans packagist 11 - creer le repo sur packagist + add webhook

crrer version Tag git tag -a 0.0.1 -m "first version" git push --tags

tests - phpunit 12 - add this to phpunit.xml

      ...
      <testsuites>
          <testsuite name="Application Test Suite">
              <directory suffix="Test.php">./tests</directory>
          </testsuite>

          <testsuite name="Package Test Suite">
              <directory suffix="Test.php">./Packages/Organit/Zoho/tests</directory>
          </testsuite>

      </testsuites>
      ...

////////// POur ajouter des Snippets de class (ex==>create invoice) 1 - /tests/TestCase.php

public function zoho()
{
  return new ZohoSnippets;
}

2 - creer une classe Snippets dans packages/Test nommmee Snippets

3 - //utiliser : Parent::zoho()->createContact()