freddie
A Mercure Hub, written in PHP (8.1 + ReactPHP)
File Explorer
Download Latest Version (.zip)- app.yml
- freddie
- framework.yaml
- bundles.php
- ServeCommand.php
- FreddieExtension.php
- services.php
- FlatQueryParser.php
- TopicHelper.php
- PublishController.php
- SubscribeController.php
- CorsMiddleware.php
- HttpExceptionConverterMiddleware.php
- TokenExtractorMiddleware.php
- PHPTransport.php
- PHPTransportFactory.php
- RedisSerializer.php
- RedisTransport.php
- RedisTransportFactory.php
- TransportFactory.php
- TransportFactoryInterface.php
- TransportInterface.php
- Hub.php
- HubControllerInterface.php
- HubInterface.php
- Message.php
- Update.php
- ConfigurationFactory.php
- DateTimeZoneFactory.php
- SignerFactory.php
- ValidationConstraints.php
- VerificationKeyFactory.php
- AuthorizationHeaderTokenExtractor.php
- ChainTokenExtractor.php
- CookieTokenExtractor.php
- PSR7TokenExtractorInterface.php
- QueryTokenExtractor.php
- Subscriber.php
- Subscription.php
- FreddieBundle.php
- functions.php
- Kernel.php
- private.pem
- public.pem
- HubTest.php
- ServeCommandTest.php
- FlatQueryParserTest.php
- TopicHelperTest.php
- DeadStreamStub.php
- PublishControllerTest.php
- SubscribeControllerTest.php
- ThroughStreamStub.php
- CorsMiddlewareTest.php
- HttpExceptionConverterMiddlewareTest.php
- TokenExtractorMiddlewareTest.php
- PHPTransportFactoryTest.php
- PHPTransportTest.php
- RedisClientStub.php
- RedisSerializerTest.php
- RedisTransportFactoryTest.php
- RedisTransportTest.php
- TransportFactoryTest.php
- HubTest.php
- MessageTest.php
- UpdateTest.php
- ConfigurationFactoryTest.php
- ValidationConstraintsTest.php
- VerificationKeyFactoryTest.php
- AuthorizationHeaderExtractorTest.php
- ChainTokenExtractorTest.php
- CookieExtractorTest.php
- QueryTokenExtractorTest.php
- FunctionsTest.php
- bootstrap.php
- Pest.php
- .env
- .env.test
- .gitattributes
- .gitignore
- composer.json
- phpcs.xml.dist
- phpstan.dist.neon
- phpunit.dist.xml
- README.md
- symfony.lock
# Installation Guide
1. Get the code
git clone https://github.com/bpolaszek/freddie
Downloads the entire project code from GitHub to your computer.
cd freddie
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer create-project freddie/mercure-x freddie && cd freddie
Type this command into your terminal and run it.
composer req freddie/mercure-x
Type this command into your terminal and run it.
composer tests:run
Type this command into your terminal and run it.
composer ci:check
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
