waglpz / cli-meta
CLI application component
Requires
- php: ^8.3
- ext-apcu: *
- ext-intl: *
- ext-json: *
- ext-mbstring: *
- ext-mysqli: *
- ext-pdo: *
- ext-pdo_mysql: *
- aura/sql: ^5.0
- symfony/console: ^v7.2
- symfony/dotenv: ^v7.2
- waglpz/cli: ^2.1
- waglpz/config: ^2.1
- waglpz/di-container: ^2.1
Requires (Dev)
- doctrine/coding-standard: ^11.1
- nette/php-generator: ^4.1
- nunomaduro/mock-final-classes: ^1.2
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-doctrine: ^1.3
- phpstan/phpstan-phpunit: ^1.1
- phpstan/phpstan-strict-rules: ^1.5
- phpstan/phpstan-symfony: ^1.1
- phpstan/phpstan-webmozart-assert: ^1.1
- phpunit/phpunit: ^10.0
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
- symfony/var-dumper: ^7.0
This package is auto-updated.
Last update: 2025-03-06 23:30:07 UTC
README
Project: waglpz/cli-meta
Description:
The waglpz/cli-meta
project serves as a meta-project for creating and managing multiple CLI application components within a unified framework. It provides a consistent base for various applications while minimizing redundancy in configuration.
Key Features:
-
Centralized Dependency Management:
All core dependencies are specified in a singlecomposer.json
file, ensuring that any derived projects automatically inherit these dependencies. This approach simplifies the management of shared libraries and components across multiple projects. -
Standardized Scripts:
The project defines a set of reusable scripts that can be utilized across all derived applications. These scripts handle tasks such as code analysis, testing, and code style checks, promoting consistent development practices. -
Customizable Configurations:
Each derived project can override or extend configurations without duplicating the entire setup. This allows for flexibility while maintaining a coherent structure. -
Development and Testing Tools:
The project includes various development tools such as PHPStan for static analysis, PHPUnit for testing, and PHP_CodeSniffer for code style checking, ensuring high code quality and adherence to standards. -
Extensibility:
The project is designed to be easily extendable, allowing developers to add new features or modify existing ones without significant overhead. This makes it an ideal foundation for a range of web applications, including REST APIs and other components.
Usage:
To create a new project based on this meta-project, simply include waglpz/cli-meta
in the require
section of the derived project’s composer.json
file. This will pull in all necessary dependencies and scripts, allowing developers to focus on building their specific application functionality.