organit/google
Composer 安装命令:
composer require organit/google
包简介
google Login - Mail - Drive and more...
README 文档
README
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()
organit/google 适用场景与选型建议
organit/google 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 10 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 organit/google 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 organit/google 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-08