Download the PHP package itorgov/laravel-forge-bot without Composer

On this page you can find all versions of the php package itorgov/laravel-forge-bot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-forge-bot

StyleCI Build Status Latest Stable Version License

Laravel Forge Telegram Bot

@LaravelForgeBot is unofficial Laravel Forge chat bot for Telegram messenger.

Motivation

Several years ago I have started to use Laravel Forge for deploying my and my clients' projects. I found that Laravel Forge couldn't send deployment notifications to Telegram messager but for me, Telegram is the number one messenger. That time I just wrote a simple bot with hardcoded chat id and webhook URL.

During my work, I realized that I need a more flexible solution and I designed and implemented the first version of this bot. The first version could only send deployment notifications. It just generated a webhook URL for you and then you had to add that URL manually to your Laravel Forge's site.

After release, I have started to work with a new client. This client has had a project where I haven't could to enable "Quick deploy". Because of that I had to go to the Laravel Forge website and hit the button "Deploy Now" whenever I needed to update the production. So I decided to improve my bot and built the second version.

Features

@LaravelForgeBot helps you manage your servers in such operations as:

It also has a feature to run deploy of your site right from Telegram. It's really helpful when you don't want to enable the "Quick deploy" feature for your site.

Another awesome feature is sending deployment notifications from Laravel Forge to you or any other chat. Using this ability only one member of your team will manage servers in his private chat with the bot, but all members will receive deployment notifications in your team chat.

Screenshots

Server screen Site screen Notification and deployment log example

How to use?

List of available commands:

You always can get an actual list of commands by using /help command.

/addtoken

Use this command to add your Laravel Forge API token. Note that you can add multiple tokens, so you can manage different Laravel Forge accounts from one place. This command will trigger automaticaly after /start command.

/deletetoken

If you want you can delete added token from the bot by using this command.

/menu

This command creates a new menu for managing servers.

/webhook

If you don't want to provide your API token for managing your Laravel Forge account but want to receive deployment notifications the use this command.

/showchatid

Use this command to get an ID of any chat. It will be helpful when you'll configure receiving deployment notifications to other chat. Please note that if you have more than one bots in your target chat then you have to write bot's username after the command without space (/showchatid@LaravelForgeBot).

Using this bot in groups

Note that this bot has no access to messages in groups. So, when you add a new token you have to send token as an answer to the last bot's message. The same action required when you add a webhook to another chat and have to send a chat id.

Versioning

We use SemVer for versioning. For the versions available, see the releases on this repository.

Authors

See also the list of contributors who participated in this project.

Thanks

I want to say thanks to Eric L. Barnes (the creator of Laravel News) for providing an image that I used as an avatar of this bot.

License

@LaravelForgeBot is licensed under the ISC license.
Copyright © 2020, Ivan Torgov

Donate

If you like this bot and would like to support it, please consider a donation using my PayPal page. Your donation would help me a lot to continue running this bot and covering hosting costs.


All versions of laravel-forge-bot with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
ext-json Version *
ext-pdo Version *
clue/socks-react Version ^1.0
fideloper/proxy Version ^4.2
fruitcake/laravel-cors Version ^1.0
goldspecdigital/laravel-eloquent-uuid Version ^7.0
guzzlehttp/guzzle Version ^6.3
hashids/hashids Version ^4.0
irazasyed/telegram-bot-sdk Version dev-develop#5bacf81
laravel/framework Version ^7.0
laravel/horizon Version ^4.2
laravel/tinker Version ^2.0
predis/predis Version ^1.1
themsaid/forge-sdk Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package itorgov/laravel-forge-bot contains the following files

Loading the files please wait ....