Code Monkey home page Code Monkey logo

Comments (12)

SimplyThomas avatar SimplyThomas commented on July 23, 2024 1

@seandelaney is correct in the implementation to support Laravel 5.4 if you are not up-to-date with the latest version of Simple-SMS.

This was updated in 9d20dbd which is both on the master and dev branches, having been released in 93e7feb 3.1.1.

If you have any other problems, don't hesitate to open another issue.

from simple-sms.

SimplyThomas avatar SimplyThomas commented on July 23, 2024 1

@samarhaider We use functions and features that were introduced in PHP 7.0.0 and it is currently our baseline PHP version to run Simple-SMS. I will be updating the docs to reflect this accurately.

If you are using Laravel 5.4 (since you are making your comments on a Laravel 5.4 issue that was closed), your current PHP version could also run into issues with your base Laravel installation down the road. I recommend you upgrade your version of PHP.

from simple-sms.

seandelaney avatar seandelaney commented on July 23, 2024

I also have the same issue.

from simple-sms.

seandelaney avatar seandelaney commented on July 23, 2024

I have fixed it locally since the deprecated share() method has been removed.

I changed:

$this->app['sms.sender'] = $this->app->share(function($app) {
     return (new DriverManager($app))->driver();
});

to this:

$this->app->singleton('sms.sender', function ($app) {
	return (new DriverManager($app))->driver();
});

from simple-sms.

seandelaney avatar seandelaney commented on July 23, 2024

I have now updated to 3.1.1.

Thanks

from simple-sms.

samarhaider avatar samarhaider commented on July 23, 2024

Its not supported on php 5.6.

I am getting following error

  Problem 1
    - Installation request for simplesoftwareio/simple-sms 3.1.1 -> satisfiable by simplesoftwareio/simple-sms[3.1.1].
    - simplesoftwareio/simple-sms 3.1.1 requires php >=7.0.0 -> your PHP version (5.6.23) does not satisfy that requirement.

from simple-sms.

SimplyCorey avatar SimplyCorey commented on July 23, 2024

@samarhaider PHP 7 is required.

from simple-sms.

samarhaider avatar samarhaider commented on July 23, 2024

But on site mention PHP: >= 5.5
https://www.simplesoftware.io/docs/simple-sms#docs-requirements

from simple-sms.

SimplyCorey avatar SimplyCorey commented on July 23, 2024

Strange, ill fix that.

from simple-sms.

samarhaider avatar samarhaider commented on July 23, 2024

Can you available this for php>= 5.5?

from simple-sms.

MelonSmasher avatar MelonSmasher commented on July 23, 2024

Laravel 5.4 requires php >= 5.6.4.

https://laravel.com/docs/5.4

from simple-sms.

samarhaider avatar samarhaider commented on July 23, 2024

But I am using PHP 5.6.23, simple-sms should be support this not only php 7

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.