bash-core VS laravel-websockets-example

Compare bash-core vs laravel-websockets-example and see what are their differences.

bash-core

Core functions for any Bash program. (by bash-bastion)

laravel-websockets-example

Quick example of a docker stack for laravel-websockets (by francislavoie)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
bash-core laravel-websockets-example
2 5
3 21
- -
3.2 0.0
7 months ago over 3 years ago
Shell PHP
Mozilla Public License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bash-core

Posts with mentions or reviews of bash-core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-31.
  • I'd like your opinion on my choice of Bash for data manipulation/cleaning and some stats
    1 project | /r/bash | 14 Feb 2023
    Error handling is also atrocious. Doing set -e fixes some issues, but there are plenty of valid cases in which one of your commands will have an error, and your script will continue execution like nothing ever happened. And, in the case of an error, as I'm sure you have realized, diagnostics are absolutely terrible. You're extremely lucky to get a line number (which I think was only added since Bash 5.1), but that's it. If you want anything more, like a stacktrace, you're stuck in the water. I have developed a library, bash-core, to help with this, but the stacktrace handling acts unexpectedly if there are errors within subshells.
  • Bash functions are better than I thought
    23 projects | news.ycombinator.com | 31 Oct 2021
    I'm quite happy to see that something Bash-related is on Hacker News! Unfortunately it seems that I don't really agree with much the author...

    While I do agree that it would be nice to be able to have 'local' functions and have inter-function cleanup work better, the logical conclusion for me was not to use function subshells. Since the use case is for larger programs (where different functions may want to have their own cleanup mechanisms), I'm opting to go for more of a library route. For example, I'm working on a Bash library that includes a function to allow different sources to add (and remove) functions to the same `TRAP`. A similar function may be useful, possibly involving the `RETURN` trap and the `-T` flag. Obviously, using a package manager for _Bash_ of all languages brings in a lot of overhead, but I think it can be quite powerful, especially with a potential "Bundle" feature that makes scripts work without the package manager.

    Concerning specifically the use of subshells, (as other commenters have pointed out) it significantly reduces performance. I also disagree that dynamic scoping is necessarily bad for Bash. I find it quite useful when I need to use various common functions to manipulate a variable - since modifying and 'returning' variables from a function is usually either slow or verbose with Bash. Admittedly though, this feature is quite annoying at times - for example, most public functions in my Bash package manager[2] all have their variables prefixed with two underscores - because they `source` all the shell scripts of all package dependencies - so I want to be extra certain nothing weird happens

    [1] https://github.com/hyperupcall/bash-core/blob/a17ab0a8b6070f...

laravel-websockets-example

Posts with mentions or reviews of laravel-websockets-example. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-31.
  • Bash functions are better than I thought
    23 projects | news.ycombinator.com | 31 Oct 2021
    I do the same thing, but slightly differently. https://github.com/francislavoie/laravel-websockets-example/...
  • Laravel Websockets + apache2 + docker
    1 project | /r/laravel | 14 Jun 2021
  • How to make a Python package in 2021
    16 projects | news.ycombinator.com | 7 Apr 2021
    I rather just write a bash script. It's the lowest common denominator. Make may not be installed by default in many places and it has some weird syntax quirks that make it annoying to use IMO.

    Here's an example of how I like to do my "bash scripts that sorta work like make": https://github.com/francislavoie/laravel-websockets-example/... basically each function is a "command", so I do like "./utils start" or whatever.

  • Sail for production?
    1 project | /r/laravel | 28 Mar 2021
    This is an example repo I built a little while ago which outlines how I like to structure my Laravel projects for Docker: https://github.com/francislavoie/laravel-websockets-example
  • Creating Docker container for PHP scripts
    4 projects | /r/PHP | 7 Mar 2021
    I wrote up my own version of what a docker stack looks like as an example repo a few months ago, I wanted to give Laravel Sail a spin but I found that it really wasn't that good; no path to transitioning to running on prod with that setup, no easy local HTTPS support, etc. Here it is: https://github.com/francislavoie/laravel-websockets-example

What are some alternatives?

When comparing bash-core and laravel-websockets-example you can also consider the following projects:

nsd - NGS Scripts Dumpster

caddy-docker - Source for the official Caddy v2 Docker Image

bash-object - Manipulate heterogenous data hierarchies in Bash.

docker-images-php - A set of PHP Docker images

hasura-ci-cd-action

Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

bash2048 - 2048 in bash

yew - Rust / Wasm framework for creating reliable and efficient web applications

lsofer - script to match similar functionality to lsof -i, and then some.

vscode-python - Python extension for Visual Studio Code

basalt - The rock-solid Bash package manager.

flit - Simplified packaging of Python modules