maknz / slack

A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax.
BSD 2-Clause "Simplified" License
1.17k stars 204 forks source link

Having trouble installing #63

Closed samr28 closed 8 years ago

samr28 commented 8 years ago

I ran composer require maknz/slack and all of the src was added to the vendor folder. I have created a file called slackTest.php which includes the basic usage code (with my hooks url) I am getting the error: Fatal error: Class 'Maknz\Slack\Client' not found in /home/ubuntu/workspace/vendor/maknz/slack/slackTest.php on line 3.

funkytaco commented 7 years ago

How'd you fix this?

samr28 commented 7 years ago

Do you have "require '/home/ubuntu/workspace/vendor/autoload.php';" on your page?

tridentechnologies commented 4 years ago

Where can I get autoload.php file.? I am using centos 7