File tree Expand file tree Collapse file tree 8 files changed +26
-11
lines changed
Expand file tree Collapse file tree 8 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 11{
22 "ignore_php_platform_requirements" : {
3- "8.4 " : true
3+ "8.5 " : true
44 },
55 "backwardCompatibilityCheck" : true
66}
Original file line number Diff line number Diff line change 44> dot-cli is a wrapper on top of [ laminas-cli] ( https://github.com/laminas/laminas-cli )
55
66![ OSS Lifecycle] ( https://img.shields.io/osslifecycle/dotkernel/dot-cli )
7- ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.8.1 )
7+ ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.10.0 )
88
99[ ![ GitHub issues] ( https://img.shields.io/github/issues/dotkernel/dot-cli )] ( https://github.com/dotkernel/dot-cli/issues )
1010[ ![ GitHub forks] ( https://img.shields.io/github/forks/dotkernel/dot-cli )] ( https://github.com/dotkernel/dot-cli/network )
@@ -18,7 +18,7 @@ Dotkernel component to build console applications based on [laminas-cli](https:/
1818
1919## Requirements
2020
21- - ** PHP** : 8.2, 8.3 or 8.4
21+ - ** PHP** : 8.2, 8.3, 8.4 or 8.5
2222- ** laminas/laminas-servicemanager** : >= 3.11 || >= 4.0,
2323- ** laminas/laminas-cli** : >= 1.4
2424
@@ -85,7 +85,7 @@ Available commands:
8585As shown in ` config/autoload/cli.global.php ` , dot-cli includes a demo command ` demo:command ` that will help you understand the basics of creating a new command.
8686For more information, see [ laminas-cli documentation] ( https://docs.laminas.dev/laminas-cli/ ) .
8787
88- ## Setting up as cronjob
88+ ## Setting up as a cronjob
8989
9090``` text
9191* * * * * /opt/plesk/php/7.4/bin/php /var/www/vhosts/example.com/httpdocs/bin/cli.php demo:command -q
Original file line number Diff line number Diff line change 33## Supported Versions
44
55
6- | Version | Supported | PHP Version |
7- | ---------| --------------------| ---------------------------------------------------------------------------------------------------------|
8- | 3.x | :white_check_mark : | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.4.2 ) |
9- | <= 2.x | :x : | |
6+ | Version | Supported | PHP Version |
7+ | ---------| --------------------| ---------------------------------------------------------------------------------------------------------- |
8+ | 3.x | :white_check_mark : | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.10.0 ) |
9+ | <= 2.x | :x : | |
1010
1111
1212## Reporting Potential Security Issues
Original file line number Diff line number Diff line change 2323 }
2424 },
2525 "require" : {
26- "php" : " ~8.2.0 || ~8.3.0 || ~8.4.0" ,
26+ "php" : " ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 " ,
2727 "laminas/laminas-cli" : " ^1.4.0" ,
2828 "laminas/laminas-servicemanager" : " ^3.11.1 || ^4.0"
2929 },
Original file line number Diff line number Diff line change 11# Overview
22
3+ > [ !IMPORTANT]
34> dot-cli is a wrapper on top of [ laminas-cli] ( https://github.com/laminas/laminas-cli )
5+
6+ ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle/dotkernel/dot-cli )
7+ ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/dot-cli/3.10.0 )
8+
9+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/dotkernel/dot-cli )] ( https://github.com/dotkernel/dot-cli/issues )
10+ [ ![ GitHub forks] ( https://img.shields.io/github/forks/dotkernel/dot-cli )] ( https://github.com/dotkernel/dot-cli/network )
11+ [ ![ GitHub stars] ( https://img.shields.io/github/stars/dotkernel/dot-cli )] ( https://github.com/dotkernel/dot-cli/stargazers )
12+ [ ![ GitHub license] ( https://img.shields.io/github/license/dotkernel/dot-cli )] ( https://github.com/dotkernel/dot-cli/blob/3.0/LICENSE )
13+
14+ [ ![ Build Static] ( https://github.com/dotkernel/dot-cli/actions/workflows/continuous-integration.yml/badge.svg?branch=3.0 )] ( https://github.com/dotkernel/dot-cli/actions/workflows/continuous-integration.yml )
15+ [ ![ codecov] ( https://codecov.io/gh/dotkernel/dot-cli/graph/badge.svg?token=0DFCK2GUBT )] ( https://codecov.io/gh/dotkernel/dot-cli )
Original file line number Diff line number Diff line change 1- # Setting up as cronjob
1+ # Setting up as a cronjob
22
33``` text
44* * * * * php /var/www/vhosts/example.com/httpdocs/bin/cli.php demo:command -q
Original file line number Diff line number Diff line change 11# Usage
22
33Use ` src/Command/DemoCommand.php ` as an example when creating a new command.
4- Update the name & description in the ` AsCommand ` attribute as needed.
4+ Update the name and description in the ` AsCommand ` attribute as needed.
55Also update the ` $defaultName ` property and the description set inside the ` configure ` method to match the ` AsCommand ` attribute.
66
77## Running
Original file line number Diff line number Diff line change 1515 <directory name =" vendor" />
1616 </ignoreFiles >
1717 </projectFiles >
18+ <issueHandlers >
19+ <MissingOverrideAttribute errorLevel =" suppress" />
20+ </issueHandlers >
1821</psalm >
You can’t perform that action at this time.
0 commit comments