Comments (12)
@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.
@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.
I also have the same issue.
from simple-sms.
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.
I have now updated to 3.1.1.
Thanks
from simple-sms.
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.
@samarhaider PHP 7 is required.
from simple-sms.
But on site mention PHP: >= 5.5
https://www.simplesoftware.io/docs/simple-sms#docs-requirements
from simple-sms.
Strange, ill fix that.
from simple-sms.
Can you available this for php>= 5.5?
from simple-sms.
Laravel 5.4 requires php >= 5.6.4.
from simple-sms.
But I am using PHP 5.6.23, simple-sms should be support this not only php 7
from simple-sms.
Related Issues (20)
- Exception Services_Twilio_RestException when queuing an SMS HOT 4
- Twilio Receive Messages Error HOT 4
- Can´t send sms with Zenvia HOT 7
- Api params should be in config HOT 2
- Lumen support HOT 1
- Critical error -- Laravel 5.4 deprecated "share" method. Use singleton instead. HOT 9
- Dependency [jeremeamia/superclosure] removed in laravel 5.4 HOT 1
- Custom Driver HOT 2
- Class sms does not exist error HOT 4
- How to add new carrier without changing EmailSMS.php file? HOT 2
- Can I configure Queue settings when using queue to send SMS?
- Twilio outdated HOT 5
- Dynamic driver HOT 2
- Infobip Driver HOT 1
- Laravel 5.3 error `FatalThrowableError Call to undefined method SimpleSoftwareIO\SMS\SMSServiceProvider::send()` HOT 3
- Having issue HOT 4
- Interest? HOT 6
- laravel 8 support
- sms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-sms.