How to publish package controller and views of laravel package?

前端 未结 1 1974
暗喜
暗喜 2021-01-21 11:29

I have developed laravel package .I put it in package folder not vendor. it is running nicely when i run this on the same project where I developed but when i download it in oth

1条回答
  •  -上瘾入骨i
    2021-01-21 11:51

    I have to incluede extrain order to register service provider automatically

    
        "extra": {
            "laravel": {
                "providers": [
                    "Coldxpress\\Ticket\\TicketServiceProvider"
                ]
            }
        }
    
    

    0 讨论(0)
提交回复
热议问题