Giter VIP home page Giter VIP logo

Comments (12)

SimplyCorey avatar SimplyCorey commented on June 15, 2024

@stanwarri I added basic support for Laravel 5 today and released it as a beta. I have not had a lot of time to test the changes. Please check it out and report back πŸ˜‰

from simple-sms.

stanwarri avatar stanwarri commented on June 15, 2024

@SimplyCorey Well done. I will test and give you feedback.

from simple-sms.

stanwarri avatar stanwarri commented on June 15, 2024

Your boot function should be

  public function boot()
{
    $this->publishes([
        __DIR__.'/../../config/config.php' => config_path('sms.php'),
    ]);
}

Thanks

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

@stanwarri I would be interested in why you believe that is correct? Currently the publish command generates a new sms.php file under the config folder which I believe is better because it keeps everything separate from the Laravel config files. I also tried your boot method and it generates an error of Can't locate path. Did you have issues with the vendor:publish command with the following?

public function boot()
{
    $this->publishes([
        __DIR__.'/../../config/sms.php' => config_path('sms.php'),
    ]);
}

How was the documentation? Was it easy to follow?

Again, thank you!

from simple-sms.

stanwarri avatar stanwarri commented on June 15, 2024

Hello @SimplyCorey There was an error with vendor:publish. The config file in the src folder is 'config.php' and not 'sms.php'

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

@stanwarri I see what is happening now. On my development machine, the config file is called sms.php For some reason, this did not sync when I did my last git push.

from simple-sms.

neeravp avatar neeravp commented on June 15, 2024

I tried with laravel 5 using twilio driver but it gives an error as under:

Services_Twilio_TinyHttpException in TinyHttp.php line 111:   
SSL certificate problem: self signed certificate in certificate chain  

What could be the issue?

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

@neeravp Can you please provide an error log for this?

from simple-sms.

neeravp avatar neeravp commented on June 15, 2024

Sorry for responding late but the thing is that I am traveling so not able to reproduce the error and its log. Will do it in a couple of days when I am back.

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

@neeravp Any luck with this? I am unable to reproduce this error and I am looking at releasing this as stable tomorrow. Thank you

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

@neeravp I can not reproduce this error. I would ensure your openssl is working with your server.

from simple-sms.

SimplyCorey avatar SimplyCorey commented on June 15, 2024

Simple-SMS 2.0.0 is released.

from simple-sms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.