Download the PHP package organit/zoho without Composer
On this page you can find all versions of the php package organit/zoho. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package zoho
Zoho Laravel Package
phpunit --test-suffix ContactTest.php phpunit --filter it_fetch_the_invoices_for_a_given_contact
istallation
composer require organit/zoho
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 [email protected]. 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 1.0.0 -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()