Laravel | Ratchet | |
---|---|---|
225 | 12 | |
31,520 | 6,157 | |
0.5% | 0.2% | |
10.0 | 0.0 | |
3 days ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
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.
Laravel
-
Tell HN: Laravel's default truncate method uses cascade for Postgres databases
Hope this saves a future team from unexpected behavior resulting in (potential) production data loss.
When using Postgres, Laravel's default method for truncate uses the cascade option, which will ignore foreign key constraints and potentially wipe large amounts of data with no confirmation or warning.
It was originally introduced in 2018: https://github.com/laravel/framework/pull/26389/files
Here are two threads on it if you are curious: https://github.com/laravel/framework/issues/29506
-
Exploring Middleware in Laravel 11
I am just exploring middleware in this post, but as you can see this is quite a different approach than we've seen historically. I sat there scratching my head, "How do I set up my own middleware? How do I change the defaults?" I had to explore the Illuminate\Foundation\Configuration\Middleware class to find out.
- Automatizando fluxos de trabalho com GitHub Actions
- Testando filas em projetos Laravel
-
alof-lib: a PHP array-like objects functions library
For example check out this issue I reported on their side: https://github.com/laravel/framework/issues/49089
-
PHP: check dates
It does not mean you should absolutely use it everywhere, but it can make sense for your case. Many frameworks, like Laravel use it to compose new projects.
-
An Internet of PHP
https://github.com/laravel/framework/blob/00894b89e42a9d707c...
Even Tinker is a few lines of code to extend PsySH and credit is barely given.
Taylor Otwell is a fiend for creating wrappers around solid open source libraries, using PHP magic and encouraging bad practices, all just to breed an ecosystem ultimately to land him a Lambo, fuelled by amazing open source foundations that have barely been contributed back to by him.
- Laravel 10.15 Released: Sub-minute Task Scheduling, Raw SQL Query Builder Methods, and More
-
Laravel’s ForwardsCalls trait
This same system has been used in Laravel since version 4.0* albeit in the more PHP plain way, using call_user_func_array (Laravel Model Class).
- From Concept to Image: Exploring OpenAI Image Generation API with Laravel 10 and VueJS
Ratchet
-
Connecting to PHP using Apache's mod_proxy_wstunnel without using 3rd Party APIs
1) Do we must need to use some 3rd Party APIs or Libraries like Ratchet, PHP-Push-WebSocket or PHP WebSocket to enable PHP to communicate over WebSocket protocol?
-
I made a simple chat socket server
I am using http://socketo.me/ to create the socket server.
-
Weekly help thread
Sockets: https://github.com/reactphp/socket WebSocket: https://github.com/ratchetphp/Ratchet
-
How good does ajax long polling work in PHP?
Have you considered using web sockets? Check out Ratchet PHP http://socketo.me/. Once the client and server make a connection your server can send notifications to the client while that connection is open.
-
Ratchet tutorial/implementation of subscribe, unsubscribe and publish to channel
How should I implement these functions? I am successful with using this documentation to implement basic websocket functions. However, I am still unable to subscribe to a channel/topic. The code is long so I put a github question here. Hope that you can help me with this.
-
The benefits and pitfalls of using Laravel to make a persistent browser-based game
You can do native websockets with PHP, but it's not straightforward with Laravel. Laravel Echo helps handle the client-side of websockets, but you need to manage the server side on your own.
-
Chatmosphere - a chat app I made a few weeks ago. Let me know what ya think!
Nice work. I have something similar I built on Ratchet, I looked at Socket.io in the early days but shelved plans to run a Node backend. Your front end looks a lot more appealing than mine does. ;)
-
Converting a custom chat to use serverless AWS for it's backend (Part 1: The Setup)
However, the websockets server is based on a php package http://socketo.me/ , and sometimes that mini-app goes down without warning, leaving the chat to fallback to an old-school chat-archive. Even monitoring and being certain that the chat websocket server is -up- isn't obvious.
-
How to use ratchet for a WssServeur ?
Hello, I have just start to learn web socket in php but I have one issue I would use a secure web socket for https pages but one their website: https://socketo.me They use a class, MyChat but vscode doesn’t find it. Does anybody know ? Thanks
-
Weekly "ask anything" thread
Which implementation would you like? * http://socketo.me/ * https://amphp.org/websocket-client/ * https://www.swoole.co.uk/docs/modules/swoole-websocket-server
What are some alternatives?
nuxt3-supabase - Nuxt 3 module and composables for Supabase.
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
octane - Supercharge your Laravel application's performance.
React - Event-driven, non-blocking I/O with PHP.
fingerprintjs - Browser fingerprinting library. Accuracy of this version is 40-60%, accuracy of the commercial Fingerprint Identification is 99.5%. V4 of this library is BSL licensed.
php-websocket - Simple WebSocket server implemented in PHP.
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Elephant.io - Ça trompe énormément
Nextcloud - ☁️ Nextcloud server, a safe home for all your data
Amp - A non-blocking concurrency framework for PHP applications. 🐘
ProxiTok - Open source alternative frontend for TikTok made using PHP
Hoa WebSocket - The Hoa\Websocket library.