Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow PHP 8.3 #122

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .laminas-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"extensions": [
"inotify",
"swoole"
]
],
"ignore_php_platform_requirements": {
"8.3": true
}
}
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,31 @@
[![Build Status](https://travis-ci.com/mezzio/mezzio-swoole.svg?branch=master)](https://travis-ci.com/mezzio/mezzio-swoole)

> ## 🇷🇺 Русским гражданам
>
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
>
> ## 🇺🇸 To Citizens of Russia
>
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!"
[![Coverage Status](https://coveralls.io/repos/github/mezzio/mezzio-swoole/badge.svg?branch=master)](https://coveralls.io/github/mezzio/mezzio-swoole?branch=master)

This library provides support for [Swoole](https://github.com/swoole/swoole-src) or [Open Swoole](https://www.swoole.co.uk/) for [Mezzio](https://docs.mezzio.dev/) applications.
This means you can execute your Mezzio application using Swoole directly from the command line.


## Installation

Run the following to install this library:

```bash
$ composer require mezzio/mezzio-swoole
composer require mezzio/mezzio-swoole
```

## Configuration
Expand Down Expand Up @@ -78,18 +77,18 @@ return array_merge((new ConfigProvider())(), [
Once you have performed the configuration steps as outlined above, you can run an Mezzio application with Swoole via the [laminas-cli](https://docs.laminas.dev/laminas-cli) integration:

```bash
$ ./vendor/bin/laminas mezzio:swoole:start
./vendor/bin/laminas mezzio:swoole:start
```

Call the `laminas` command without arguments to get a list of available commands, looking for those that begin with `mezzio:swoole:`, and use the `help` meta-argument to get help on individual commands:

```bash
$ ./vendor/bin/laminas help mezzio:swoole:start
./vendor/bin/laminas help mezzio:swoole:start
```

## Documentation

Browse the documentation online at https://docs.mezzio.dev/mezzio-swoole/
Browse the documentation online at <https://docs.mezzio.dev/mezzio-swoole/>

## Support

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"extra": {
},
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"dflydev/fig-cookies": "^2.0.1 || ^3.0",
"laminas/laminas-cli": "^1.8",
"laminas/laminas-diactoros": "^2.25.2 || ^3.0",
Expand All @@ -51,13 +51,13 @@
"webmozart/assert": "^1.11"
},
"require-dev": {
"filp/whoops": "^2.15.2",
"filp/whoops": "^2.15.3",
"laminas/laminas-coding-standard": "~2.5.0",
"laminas/laminas-servicemanager": "^3.20",
"phpunit/phpunit": "^10.2.2",
"laminas/laminas-servicemanager": "^3.22.1",
"phpunit/phpunit": "^10.4.2",
"psalm/plugin-phpunit": "^0.18.4",
"swoole/ide-helper": "^5.0.3",
"vimeo/psalm": "^5.12"
"swoole/ide-helper": "^5.1.0",
"vimeo/psalm": "^5.15"
},
"suggest": {
"ext-inotify": "To use inotify based file watcher. Required for hot code reloading.",
Expand Down
Loading