Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arabnewscms/mobilysms
A SMS Package created By PhpAnonymous
https://github.com/arabnewscms/mobilysms
Last synced: 2 months ago
JSON representation
A SMS Package created By PhpAnonymous
- Host: GitHub
- URL: https://github.com/arabnewscms/mobilysms
- Owner: arabnewscms
- License: mit
- Created: 2016-09-19T12:17:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-01T10:56:05.000Z (over 8 years ago)
- Last Synced: 2024-05-01T01:02:32.792Z (8 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# how can install this package
i'ts easy step .
1 - install with composer
`composer require mobilysms/phpanonymous:dev-master`
2 - add provider class to app.php in config folder .
```php
Mobilysms\Phpanonymous\MobilySmsPhpAnonymous::class,
```
3 - add aliases class
```php
'Mobily' => Mobilysms\Phpanonymous\Mobily::class,
```4 - then call this command from composer.
``` php artisan vendor:publish```
5 - just call method
```php
Mobily::send(20123456789,'Your Message Here ');
```you can get this file from this path on your project `config/mobilysms.php`
and you can edit information account with mobily.ws sender name and mobile or user account and password
you can edit more information if you want ! like timesend or datasend bla bla bla i'ts easy :)```php
return [
'sender' =>'Anonymous', // Sender Name With Mobily.ws
'mobile' =>'123456789', // Mobile User Account With Mobily.ws
'password'=>'password here', // Password Account With Mobile.ws
'timeSend'=>0, // If You Don't know what this please don't change anything
'dateSend'=>0, // If You Don't know what this please don't change anything
'deleteKey'=>152485, // If You Don't know what this please don't change anything
'resultType'=>1, // If You Don't know what this please don't change anything
'viewResult'=>1, // If You Don't know what this please don't change anything
'MsgID'=>rand(0000,9999), // If You Don't know what this please don't change anything
];```
and you can use Mobily Class On Your Controller I'ts Easy
##Configuration
You Can Edit File Language With defualt Locale folder
and You Can Put your information to file mobilysms.php in config folderIf I got a problem you will know how to solve it
this package created by phpanonymous owner group php anonymoues developers on facebook
you can join us https://www.facebook.com/groups/anonymouses.developersif you want check message sent i'ts easy the package was returned result true not a string
```php
$send = Mobily::send(123456789,'message');
if($send == true)
{
echo 'message sent';
}else{
echo $send;
}```