Vinelab / minion

A Simplified Client for WAMP v2 (Web Application Messaging Protocol) with command line support - PHP WebSocket Made Easy
MIT License
126 stars 16 forks source link

i can't understand your document! #7

Closed mbpcoder closed 8 years ago

mbpcoder commented 9 years ago

hi i am building an real time app using Laravel and Wamp2 i used voryx/Thruway for Wamp2 router and wampy.js for browser and your lib for php client and i actually don't understand your documents can you be more clear in document? and write about codes should be in which file and what it's the way i should start using this lib. or better give us one simple Laravel app code to see and explore.

thanks.

Mulkave commented 9 years ago

@mb-programmer sorry to hear you're having difficulties understanding the documentation, will do my best to provide a Laravel application example by end of day.

Meanwhile, I'm assuming that you've installed Minion with Laravel 5 and ran php artisan vendor:publish to get the configuration file minion.php in your config folder which should look something likes this:

return [

    'realm' => 'myrealm',
    'host' => 'localhost',
    'port' => 8000,
    'providers' => [

        'App\RealTime\Providers\MyProvider',
    ],
    'debug' => false,
];

Make sure that you change the values according to your router.

If you need help further please let me know.

mbpcoder commented 9 years ago

thanks and sorry i didn't mention it before i am using Laravel 4.2 in my application. i am waiting to see your sample app.