duanchi5078 2018-03-25 10:51
浏览 87
已采纳

在Packagist.org上发布后,包创建提供程序无法正常工作

I create a package for remote auth token based, In package creation i register package namespace into root composer.json file and package work.when package development is complete i publish package on packagist.org . then i install package in new laravel application and put provider in app.php then run composer dumpautoload i get this error any help me

In ProviderRepository.php line 208:

  Class 'Support\RemoteAuth\JSRServiceProvider' not found

enter image description here

composer json of package is

{
    "name": "support/remote-auth",
    "description": "api authentication libarary",
    "type": "library",
    "license": "MTT",
    "authors": [
        {
            "name": "ravi bhanderi",
            "email": "ravibhanderi14@gmail.com"
        }
    ],
    "minimum-stability": "stable",
    "require": {}
}
  • 写回答

1条回答 默认 最新

  • dongpao9437 2018-03-25 18:03
    关注

    Have a look at the autoload section for composer at getcomposer.org/doc/04-schema.md#autoload - how should the filepath for your provider be detected if you do not provide any help

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器