mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 16:01:04 +01:00
34 lines
2.1 KiB
Markdown
34 lines
2.1 KiB
Markdown
# PC-Developer-Tools-PHP Role
|
|
|
|
## Overview
|
|
This README document is for the `pc-developer-tools-php` role within the `cymais` repository. This role is specifically designed to facilitate the setup of PHP development tools on personal computing environments.
|
|
|
|
## Role Contents
|
|
The `main.yml` file under the `pc-developer-tools-php` role is centered around the installation of essential PHP development tools:
|
|
|
|
1. **Install PHP Developer Tools**:
|
|
- The task uses the `community.general.pacman` module to install:
|
|
- `php`: The PHP language package, which is a popular general-purpose scripting language especially suited to web development.
|
|
|
|
## Dependencies
|
|
This role depends on:
|
|
- **pc-developer-tools**: Ensures that basic developer tools, which may include code editors, version control systems, and other common development utilities, are installed and available.
|
|
|
|
## Purpose and Usage
|
|
The `pc-developer-tools-php` role is tailored for web developers and programmers who work with PHP. By automating the installation of PHP, this role streamlines the setup process, making it easier for developers to start working on PHP-based projects or running PHP applications.
|
|
|
|
## Prerequisites
|
|
- **Ansible**: Required for running this role.
|
|
- **Arch Linux-based System**: Given that the role uses the `pacman` package manager, it is most suitable for systems based on Arch Linux or similar distributions.
|
|
|
|
## Running the Role
|
|
To use this role:
|
|
1. Clone the `cymais` repository to your system.
|
|
2. Navigate to the `roles/pc-developer-tools-php` directory within the repository.
|
|
3. Run the role using Ansible, ensuring you have the necessary permissions for installing packages.
|
|
|
|
## Customization
|
|
This role can be customized by adding more PHP-related packages or tools, depending on the specific needs of the user or the project.
|
|
|
|
## Support and Contributions
|
|
For support, feedback, or contributions, such as adding additional tools for PHP development or enhancing the existing setup, please open an issue or submit a pull request in the `cymais` repository. Contributions that enhance the PHP development environment are highly welcomed. |