Code Monkey home page Code Monkey logo

laravel-socket's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

laravel-socket's Issues

Clients Not Connecting To Socket On Production Server

Hi,

First of all, a big thanks for the effort for this package!

It works perfectly in my local, but I get this error when publish to my hosting server when try to perform send, and on my ssh it doesn't show Client Connected as in my local virtual server.

Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

Thanks!

conflict installations

Problem 1
- Installation request for codemash/laravel-socket ^1.0 -> satisfiable by codemash/laravel-socket[1.0.0].
- codemash/laravel-socket 1.0.0 requires cboden/ratchet ^0.3.5 -> satisfiable by cboden/ratchet[v0.3.5, v0.3.6] but these conflict with your requirements or minimum-stability.


{
    "name": "rappasoft/laravel-5-boilerplate",
    "description": "The Laravel Boilerplate Project.",
    "keywords": ["framework", "laravel", "boilerplate"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=7.0.0",
        "appstract/laravel-blade-directives": "^0.4.4",
        "arcanedev/log-viewer": "^4.4",
        "arcanedev/no-captcha": "^5.0",
        "authy/php": "~2.2",
        "cboden/ratchet": "^0.4.1",
        "ccxt/ccxt": "^1.10",
        "creativeorange/gravatar": "~1.0",
        "davejamesmiller/laravel-breadcrumbs": "^4.1",
        "fenos/notifynder": "^4.3",
        "fideloper/proxy": "~3.3",
        "get-stream/stream-laravel": "^2.2",
        "hieu-le/active": "^3.5",
        "laravel-notification-channels/telegram": "^0.0.3",
        "laravel/framework": "5.5.*",
        "laravel/socialite": "^3.0",
        "laravel/tinker": "~1.0",
        "orchid/socket": "^1.6",
        "predis/predis": "^1.1",
        "react/event-loop": "^0.4.3",
        "react/http": "^0.8.0",
        "spatie/laravel-html": "^2.4",
        "spatie/laravel-permission": "^2.5",
        "webpatser/laravel-uuid": "^3.0"
    },
    "require-dev": {
        "barryvdh/laravel-debugbar": "^3.0",
        "filp/whoops": "~2.0",
        "fzaninotto/faker": "~1.4",
        "laravel/browser-kit-testing": "^2.0",
        "mockery/mockery": "~1.0",
        "phpunit/phpunit": "~6.0",
        "phpspec/phpspec": "~2.1"
    },
    "autoload": {
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "psr-4": {
            "App\\": "app/"
        },
        "files": [
            "app/helpers.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "extra": {
        "laravel": {
            "dont-discover": [
            ]
        }
    },
    "scripts": {
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate"
        ],
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover"
        ],
        "clear-all": [
            "composer dumpautoload -o",
            "@php artisan optimize",
            "@php artisan clear-compiled",
            "@php artisan cache:clear",
            "@php artisan route:clear",
            "@php artisan view:clear",
            "@php artisan config:clear"
        ],
        "phpunit": [
            "phpunit > output.txt -d memory_limit=15048M"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true
    }
}

Example failed

after the copy all the code from the example the onConnect Works, but when i send a message, i received a message on the server console: Trying to get a property of non object

Does not work with Laravel 5.7

When trying to composer require the project there is a conflict with http-foundation versions.

`Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for codemash/laravel-socket ^1.0.0 -> satisfiable by codemash/laravel-socket[1.0.0].
- Conclusion: remove symfony/http-foundation 4.1.x-dev
- codemash/laravel-socket 1.0.0 requires cboden/ratchet ^0.3.5 -> satisfiable by cboden/ratchet[v0.3.5, v0.3.6].
- cboden/ratchet v0.3.5 requires symfony/http-foundation ^2.2|^3.0 -> satisfiable by symfony/http-foundation[2.2.x-dev, 2.3.x-dev, 2.4.x-dev, 2.5.x-dev, 2.6.x-dev, 2.7.x-dev, 2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, 3.3.x-dev, 3.4.x-dev].
- cboden/ratchet v0.3.6 requires symfony/http-foundation ^2.2|^3.0 -> satisfiable by symfony/http-foundation[2.2.x-dev, 2.3.x-dev, 2.4.x-dev, 2.5.x-dev, 2.6.x-dev, 2.7.x-dev, 2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, 3.3.x-dev, 3.4.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 2.2.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 2.3.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 2.4.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 2.5.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 2.6.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 2.7.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 2.8.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 3.0.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 3.1.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 3.2.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 3.3.x-dev].
- Can only install one of: symfony/http-foundation[4.1.x-dev, 3.4.x-dev].
- Installation request for symfony/http-foundation 4.1.x-dev -> satisfiable by symfony/http-foundation[4.1.x-dev].`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.