{"id":20671442,"url":"https://github.com/fajarbc/learn-rabbitmq-php","last_synced_at":"2025-06-11T07:32:03.541Z","repository":{"id":115653339,"uuid":"385745203","full_name":"fajarbc/learn-rabbitmq-php","owner":"fajarbc","description":"Learn RabbitMQ with PHP","archived":false,"fork":false,"pushed_at":"2021-07-13T22:42:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T17:29:51.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fajarbc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-13T22:00:26.000Z","updated_at":"2021-07-13T22:42:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc9dae9c-bccf-4dce-b0b2-f0f522d90224","html_url":"https://github.com/fajarbc/learn-rabbitmq-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarbc%2Flearn-rabbitmq-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarbc%2Flearn-rabbitmq-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarbc%2Flearn-rabbitmq-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarbc%2Flearn-rabbitmq-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fajarbc","download_url":"https://codeload.github.com/fajarbc/learn-rabbitmq-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarbc%2Flearn-rabbitmq-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259221908,"owners_count":22823982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T20:27:17.172Z","updated_at":"2025-06-11T07:32:03.511Z","avatar_url":"https://github.com/fajarbc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# learn-rabbitmq-php\nLearn RabbitMQ with PHP\n\n\n**INSTALLATION**\nMy notes on installing RabbitMQ in Windows:\nI Follow the steps from https://www.rabbitmq.com/install-windows.html\n\n* Open RabbitMQ Terminal\n1. Open terminal (Command Prompt or PowerShell)\n2. Change directory to RabbitMQ Server sbin folder\n```\ncd C:\\Program Files\\RabbitMQ Server\\rabbitmq_server-{version}\\sbin\n```\nNote: change {version} according to your installed RabbitMQ Server version, for example the version is **3.8.18**. So the code would look like:\n```\ncd C:\\Program Files\\RabbitMQ Server\\rabbitmq_server-3.8.18\\sbin\n```\nOr you can simply search for RabbitMQ Command Prompt\n![image](https://user-images.githubusercontent.com/31872453/125531539-924a7e8d-9606-45c3-83f3-408e2ff4884e.png)\n\n\n* Start RabbitMQ Service\n```\nrabbitmq-service start\n```\n\n\n* Stop RabbitMQ Service\n```\nrabbitmq-service stop\n```\nOr you can just simply search for RabbitMQ in your computer\n![image](https://user-images.githubusercontent.com/31872453/125532485-2d38e9fc-fdad-4ef1-a0ae-0d91719ee678.png)\n\n\n* Enable RabbitMQ UI Management\nAfter install finished, in order to **enable the RabbitMQ UI Management** that runs onhttp://localhost:15672 you should do the following:\n```\nrabbitmq-plugins.bat enable rabbitmq_management\n```\n\n**RUN THE SCRIPTS**\nIn this project directory\n1. Before you run the sript, please make sure you have `composer` installed in your machine and have all the dependency needed. You can type `composer update` in your terminal.\n2. There are 2 scripts, send.php to send the queue message and receive.php to receive the queue message.\n3. Open 2 separate terminals. I assume that **php** command is can be used in your environment.\n4. Run the **receive.php**\n```\nphp receive.php\n```\n6. Run the **send.php** \n```\nphp send.php\n```\n![image](https://user-images.githubusercontent.com/31872453/125533831-d9d9fc86-ad17-43b3-9c0a-6b440f3ff20c.png)\n\nYou can also run send.php through your browser if there is an active webserver\n![image](https://user-images.githubusercontent.com/31872453/125533911-fb7574f4-2580-49f9-8131-c025b942fcdc.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffajarbc%2Flearn-rabbitmq-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffajarbc%2Flearn-rabbitmq-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffajarbc%2Flearn-rabbitmq-php/lists"}