amphp / amphp.github.io Goto Github PK
View Code? Open in Web Editor NEWMain website repository.
Home Page: https://amphp.org
License: Other
Main website repository.
Home Page: https://amphp.org
License: Other
Has the project considered Sphynx for docs? I found it super useful. It does have some learning curve but really makes fantastic docs. Fabien created a plugin for PHP code highlighting that works quite well. The Symfony docs are written using Sphynx as are the docs I wrote for LaunchKey: https://docs.launchkey.com. Not being critical or anything, just wondering. If the idea is intriguing, I could build a proof of concept.
Stubs already created here: http://amphp.org/docs/amp/managing-concurrency.html#helpers
yield $message
]This section needs to be updated. None of the provided examples seem to be working.
The code sample provided here https://amphp.org/getting-started/tcp-chat/basic-echo-server throws this error:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be an instance of Amp\Socket\ServerSocket, instance of Amp\Socket\ResourceSocket given, called in [REDACTED]vendor/amphp/amp/lib/functions.php on line 60 and defined in [REDACTED]/test.php:13
Same thing here: https://amphp.org/getting-started/tcp-chat/broadcasting - i only tried running the first code sample
PHP Fatal error: Uncaught TypeError: Argument 1 passed to class@anonymous::handleClient() must be an instance of Amp\Socket\ServerSocket, instance of Amp\Socket\ResourceSocket given, called in [REDACTED]/index.php on line 20 and defined in [REDACTED]/index.php:25
Steps to reproduce:
mkdir test; cd test
composer require amphp/socket
php test.php
nc localhost 1337
As soon as nc attempts to connect the script will throw the errors mentioned above.
Tested on:
So people reading the docs can immediately improve articles/fix typos etc.
It seems like the domain is expired at amphp.org.
In Firefox the search input breaks out of the top menu and overlaps the side navigation. This prevents access from the side nav's top most link and suggest edit action within the package documentation.
Here is a screenshot with the broken element.
Here is a screenshot with the element working as intended in Chromium (https://www.chromium.org/).
OS: Ubuntu 18.10
Mozilla Firefox: 68.0
Chromium: 75.0.3770.90
Currently, we have overflow-x: hidden
to prevent too large elements from creating a horizontal scrollbar. Those elements must shrink so we can remove the overflow-x: hidden
.
We need to generate a PHPDoc reference for every project. We need our own template for it, because the existing ones are really ugly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.