spatie/simple-tcp-client
Simple TCP client for PHP/Laravel: connect to a host/port, send data, and receive responses with a clean API. Useful for interacting with TCP services (SMTP, HTTP, custom servers), testing network protocols, and building lightweight clients.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/ping | 0.88 | Run ICMP pings from PHP and get structured results instead of raw output. Spatie's package wraps the system ping command and exposes packet loss, response times, connectivity status, and individual ping lines as clean, readable objects. | 94 | 94 | 9 | 10K | 0 | 23.7 | 33.0 | MIT | 2 weeks ago | |
| php-http/socket-client | 0.86 | PSR-7/PSR-18 HTTP client built on PHP streams. Supports TCP and UNIX domain sockets, TLS/SSL encryption, and client certificates. Lightweight, dependency-minimal option for making HTTP requests via socket connections. | 81 | 82 | 42 | 115K | 0 | 9.9 | 44.9 | MIT | 9 months ago | |
| spatie/visit | 0.85 | Human-friendly curl for the terminal. Visit any URL and display its response with colorized output (HTML via bat, JSON via jq), plus status code and response time. Supports custom HTTP methods and options like following redirects. | 390 | 390 | 14 | 2 | 0 | 7.5 | 0.0 | — | 1 year ago | |
| spatie/server-monitor-app | 0.84 | Laravel-based command-line app to monitor your servers’ health (disk, memory, processes, etc.) with built-in checks and alerts via Slack or email. Powered by Spatie’s laravel-server-monitor; ideal if you want a ready-to-run monitoring app. | 174 | 176 | 22 | 0 | 0 | 2.4 | — | MIT | 9 years ago | |
| spatie/laravel-visit | 0.84 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 756 | 0 | 11.0 | 11.1 | MIT | 7 months ago | |
| spatie/fork | 0.84 | Run PHP code concurrently with spatie/fork, which forks the main process into child tasks. Pass multiple closures to run at the same time, then collect results in order. Requires PHP 8 and the pcntl extension, and works in CLI only, not web contexts. | 1,050 | 1,052 | 120 | 310K | 0 | 34.8 | 40.1 | MIT | 1 day ago | |
| spatie/laravel-dynamic-servers | 0.84 | Dynamically spin up and destroy servers from Laravel to handle variable queue workloads. Uses provider snapshots as templates and lets you determine server count (e.g., based on Horizon wait times) so extra workers are created automatically and removed when no longer needed. | 237 | 237 | 12 | 3 | 0 | 4.8 | 0.1 | MIT | 2 years ago | |
| spatie/laravel-webhook-server | 0.84 | Send webhooks from your Laravel app with ease. Configure endpoints, sign outgoing calls, and automatically retry failed deliveries using customizable backoff strategies. Pairs with spatie/laravel-webhook-client for receiving webhooks. | 1,083 | 1,090 | 143 | 785K | 0 | 38.4 | 46.2 | MIT | 2 weeks ago | |
| spatie/spatie-content-api | 0.84 | Laravel/PHP package powering Spatie’s promotional-site content API. Fetch posts for a product or project (e.g., mailcoach) via a simple ContentApi facade and expose consistent, reusable content to your frontend or other services. | 5 | 5 | 2 | 2K | 0 | 6.4 | 35.0 | MIT | 1 year ago | |
| analogic/socket | 0.84 | Analogic Socket is a PHP package for building lightweight TCP/UDP socket clients and servers. It provides simple APIs for connecting, sending/receiving data, and handling basic networking workflows without pulling in a full framework. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 10 years ago | |
| spatie/robots-txt | 0.83 | Spatie's robots-txt package checks whether a page may be indexed or followed using robots.txt rules, robots meta tags, and HTTP headers. It supports custom user agents, custom robots.txt locations, disallow reasons, and crawl delays. | 258 | 263 | 44 | 1M | 0 | 31.9 | 60.1 | MIT | 1 day ago | |
| spatie/ssl-certificate | 0.83 | A PHP package from Spatie that makes it easy to query SSL certificate properties. Fetch a certificate from a hostname, file, or string, then check validity, expiration dates, issuer, and key details. | 742 | 752 | 137 | 168K | 0 | 28.7 | 35.9 | MIT | 5 months ago | |
| yakeing/php_fsockopen | 0.83 | yakeing/php_fsockopen is a lightweight PHP wrapper around fsockopen for low-level socket and HTTP connections. It provides a simple way to open sockets, send requests, and read responses without cURL, making it useful for small integrations or environments where cURL isn't available. | 53 | — | 10 | — | 0 | 0.4 | — | MPL-2.0 | 7 years ago | |
| mrizwan/laravel-fcgi-client | 0.83 | — | 2 | 2 | 0 | 3 | 0 | 0.9 | 4.2 | MIT | 1 year ago | |
| spatie/laravel-resource-endpoints | 0.83 | Abandoned package that adds controller-based “links” and collection “meta” links to Laravel API Resources. Automatically generates URLs for actions like index/show/edit/update/delete, so resources can expose REST endpoints without manually building routes. | 239 | 239 | 13 | 0 | 0 | 2.6 | — | MIT | 5 years ago | |
| react/socket-client | 0.83 | Async, event-driven TCP/IP socket client for ReactPHP. Provides promise-based connectors for plain TCP, secure TLS, and Unix domain sockets, plus DNS resolution, connection timeouts, and a flexible ConnectorInterface for custom transports. | 105 | 103 | 24 | 9K | 0 | 1.2 | 26.9 | MIT | 9 years ago | |
| spatie/flare-client-php | 0.83 | The PHP client for Flare: capture errors, exceptions, and traces from PHP 8.2+ apps and send them to Flare for debugging. Works standalone or with Laravel via laravel-flare. | 178 | 178 | 25 | 8M | 0 | 34.9 | 65.0 | MIT | 1 day ago | |
| curl/curl | 0.83 | curl/curl is a lightweight, object-oriented PHP wrapper around the native cURL extension, simplifying HTTP requests, headers, authentication, and response handling for Laravel and PHP applications while retaining access to cURL’s core features. | 43,334 | — | 7,472 | — | 21 | 72.8 | 34.0 | NOASSERTION | 3 weeks ago | |
| spatie/laravel-data | 0.83 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| digital-link/httpclient | 0.82 | Lightweight Laravel/PHP HTTP client wrapper for making outbound requests with a clean, simple API. Provides convenient helpers for common methods, headers, and payloads to speed up calling external APIs in your applications. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — |
How can I help you explore Laravel packages today?