-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b9b354c
Showing
12 changed files
with
780 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "milly/laragram", | ||
"description": "Laravel package to develop telegram bot inside laravel project", | ||
"type": "library", | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"Milly\\Laragram\\": "src/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Mirmuxsin", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Milly\Laragram; | ||
|
||
use Illuminate\Support\Facades\Validator; | ||
|
||
class Laragram | ||
{ | ||
|
||
/** | ||
* To receive updates from request | ||
* | ||
* @return array|\Illuminate\Contracts\Foundation\Application|\Illuminate\Http\Request|string | ||
*/ | ||
public function update () { | ||
$request = \request(); | ||
// $validate = $request->validate([ | ||
// 'update_id' => 'required|int', | ||
// ]); | ||
|
||
|
||
return $request; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace Milly\Laragram; | ||
|
||
use Illuminate\Support\ServiceProvider; | ||
|
||
class LaragramServiceProvider extends ServiceProvider | ||
{ | ||
public function boot () | ||
{ | ||
|
||
} | ||
|
||
public function register() | ||
{ | ||
parent::register(); // TODO: Change the autogenerated stub | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
// autoload.php @generated by Composer | ||
|
||
require_once __DIR__ . '/composer/autoload_real.php'; | ||
|
||
return ComposerAutoloaderInit3b33be303efde5a4a5629eded466b6cc::getLoader(); |
Oops, something went wrong.