Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). (by mockery)
Fluentd
Fluentd: Unified Logging Layer (project under CNCF) (by fluent)
Our great sponsors
Mockery | Fluentd | |
---|---|---|
3 | 25 | |
10,557 | 12,531 | |
0.1% | 0.7% | |
9.5 | 8.0 | |
28 days ago | 14 days ago | |
PHP | Ruby | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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.
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.
Mockery
Posts with mentions or reviews of Mockery.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-20.
-
I share my authentication server.
Continuous Integration - Testify, sqlmock, Mockery, Github Actions
-
Test doubles
Mockery is another framework for creating test doubles. It can be used with PHPUnit, phpspec, Behat, or any other testing framework. I find it especially powerful when working with legacy code, due to its support for creating partial mocks or mocking hard dependencies.
-
Testing with immutable PSR-7 objects and Prophecy
This works great if a method is tested that modifies and returns an object; we'll get an instance of that object and we are able to run all sorts of assertions on it. But what if this is not the case. What if we have a situation where a value object is passed as a parameter, some modifications are done and the value object is passed to another object. Something like the middleware from the example earlier. Some testing frameworks like Mockery offer spies to test these situations. When using Prophecy this situation can be handled using Argument::that():
Fluentd
Posts with mentions or reviews of Fluentd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-15.
-
Embracing Kubernetes: The Future of Containerized Applications
Get Started with Fluentd
-
Kubernetes Architecture
Currently, there is no cluster-wide logging. Fluentd can be used to have a unified logging layer for the cluster.
- Fluentd – open-source data collection and unified logging layer
-
making job execution log searchable
Fluentd hasn't been touched for 8 years? Looking at the repo it looks like it's alive and well. https://github.com/fluent/fluentd
-
Top 11 Splunk Alternatives that you may consider in 2023
Fluentd is an open-source log management and data collection tool. Just like Logstash, Fluentd uses a pipeline-based architecture. This allows it to collect data from various sources and network traffic and forward it to various destinations.
-
7 Open-Source Log Management Tools that you may consider in 2023
Fluentd is a powerful log management tool that offers organizations the flexibility and scalability required to handle large volumes of log data from a variety of sources and transport it to various destinations. Utilizing a flexible and modular architecture, Fluentd allows users to easily add new input and output plugins to integrate with a wide range of systems and applications. It supports a wide range of data sources and destinations, including databases, message queues, and data stores.
-
Substation: Data Pipeline and Transformation Toolkit Written in Go
Substation is an affordable alternative to products like Cribl (~10x cost savings) and is easier to manage than similar open-source projects such as Logstash and fluentd. It's been used in production by the security team at Brex for 2+ years and is ready for any scale, even beyond 100,000 events per second!
-
Simple way to centralize my server logs?
There are probably too many to chose from. Logstash, Promtail, Vector, Filebeat, FluentD, Logagent and probably many more
-
The Everything Guide to Data Collection in DevSecOps
To alleviate some of the pain, it’s a good idea to use industry standards and tooling like OpenTelemetry (https://opentelemetry.io). For data collection specific to logs, open-source tools like LogStash and Fluentd are also popular.
-
Top 20 Observability Tools Every Startup Should Know About in 2022
Created and maintained by the creators of fluentd, fluentbit is a lightweight, fast, and scalable logging and metrics processor and forwarder. Built specifically for the cloud and containerized environments, it allows users to collect data from any source, enrich it with filters and forward it to the tool of their choice.
What are some alternatives?
When comparing Mockery and Fluentd you can also consider the following projects:
Prophecy - Highly opinionated mocking framework for PHP 5.3+
vector - A high-performance observability data pipeline.
PHPUnit - The PHP Unit Testing framework.
zipkin - Zipkin is a distributed tracing system
Faker
Flume - Mirror of Apache Flume
AspectMock - The most powerful and flexible mocking framework for PHPUnit / Codeception.
Lograge - An attempt to tame Rails' default policy to log everything.
Phake - PHP Mocking Framework
Semantic Logger - Semantic Logger is a feature rich logging framework, and replacement for existing Ruby & Rails loggers.
Codeception - Full-stack testing PHP framework
heka - DEPRECATED: Data collection and processing made easy.