Slack Composer

Got a project near completion? Got a project with lots of screens and media? This is the place. This is for nearly finished and Projects with lots of media.

Slack Composer

Postby KyleMassacre » Sat May 14, 2016 8:26 pm

Hello everyone,
I just want to start off by saying that I do love working with APIs and what I am here to show works with 2 different APIs. Well, one full API and kind of a half one since it's just a web hook. This is just kind of a neat little thing that I am working on for Slack and teams using the Slack application.

Basically in a nutshell what it does is pulls information from Packagist for a library that you and/or your team are interested in. From the first screen shot below you will notice that it uses the same syntax (except for the slash command) as using Composer with the CLI and you will see some of the features that I will be implementing. For now it's just the help command and the require command:
Help Command
Image
And here are a couple of the require commands. There is actually only one require command but this also takes an optional version constraint as seen in the above screen shot:
Require Command
Image
In that image I passed the --version flag in the command like
Code: Select all
/composer require laravel/laravel --version=5.1.x-dev

If you don't pass a version constraint it will default to the most current like so:
Image
At the time of writing this Laravel's latest version is dev-bindings (FUN FACT: which for those who care, is only like 1 day old ;))

So if anyone here uses Slack, I am more than willing to give the URL to this project that you can use while I develop it up more. It is hosted on a Heroku free node right now so you can get plenty of usage out of it since Heroku requires 6 hours of downtime per day.

Also, if you do have any projects up on Packagist and are looking to make a push in the near future and would be kind enough to add in the "extra" object an key named "img_url" with an image icon of your project, that would be mighty cool of you and let me know the project vendor/package name so I can test it out.
Code: Select all
"extra": {
    "img_url": "http:\/\/someplace.com\/some_image.png"
}
Skype: KyleMassacre
My NWE Modules
User avatar
KyleMassacre
 
Posts: 572
Joined: Wed Nov 27, 2013 7:42 am
Has thanked: 19 times
Been thanked: 36 times

Re: Slack Composer

Postby hallsofvallhalla » Wed May 18, 2016 8:54 am

Very cool.
User avatar
hallsofvallhalla
Site Admin
 
Posts: 12001
Images: 13
Joined: Wed Apr 22, 2009 6:29 pm
Location: mobile, al
Has thanked: 11 times
Been thanked: 164 times
Blog: View Blog (3)

Re: Slack Composer

Postby KyleMassacre » Wed May 18, 2016 10:20 am

When this is all done I plan to do one for node modules as well to search the npm registry
Skype: KyleMassacre
My NWE Modules
User avatar
KyleMassacre
 
Posts: 572
Joined: Wed Nov 27, 2013 7:42 am
Has thanked: 19 times
Been thanked: 36 times

Re: Slack Composer

Postby hallsofvallhalla » Wed May 18, 2016 11:51 am

Oh I like that!
User avatar
hallsofvallhalla
Site Admin
 
Posts: 12001
Images: 13
Joined: Wed Apr 22, 2009 6:29 pm
Location: mobile, al
Has thanked: 11 times
Been thanked: 164 times
Blog: View Blog (3)


Return to Project Showoff Tier II

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x