matriphe / matribot
Matriphe bot application skeleton based on Laravel.
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- fabpot/goutte: ^3.2
- irazasyed/telegram-bot-sdk: ^3.0
- laravel/framework: 5.5.*
- laravel/tinker: ~1.0
- propaganistas/laravel-intl: ^1.2
Requires (Dev)
- filp/whoops: ~2.0
- friendsofphp/php-cs-fixer: ^2.9@dev
- fzaninotto/faker: ~1.4
- mockery/mockery: ~1.0
- phpunit/phpunit: ~6.0
README
Matribot is a simple basic skeleton application to build bot that based on Laravel application. It is used internally by Muhammad Zamroni (matriphe) for fun projects.
Installation
Using composer
run this command.
composer create-project matriphe/matribot {your_application_path} --prefer-dist
Now you can use Matribot just like using Laravel application.
Configuration
Check config/
directory for more details. Use .env
file to set configuration locally.
Deployment
Matribot uses Envoy task runner to do deployment. Make sure your server is properly configured, SSH without password configured, and has composer installed.
Open Envoy.blade.php
and make adjustment there.
For first deployment, use this command.
envoy run install
For regular deployment, run this command.
envoy run deploy
Packages
Matribot are using these packages to do the basic things.
- Goutte for web scrapping
- Telegram for notification
- Laravel Intl for formatting
License
Matribot is open-sourced software licensed under the MIT license.