Skip to content

A collection of simple PHP programs focused on practicing and improving PHP skills, covering basic to intermediate concepts.

Notifications You must be signed in to change notification settings

MuhammadZulhusni/php-terminal-based-programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Programs

This repository contains a collection of simple PHP programs aimed at practicing and improving PHP programming skills. The examples range from basic to intermediate concepts, covering various aspects of PHP.

Table of Contents

Introduction

This repository is designed for anyone looking to improve their PHP skills by working through practical examples. Each program is self-contained and demonstrates key concepts in PHP, such as variables, loops, functions, arrays, and more.

Requirements

To run the programs in this repository, you'll need:

  • PHP version 7.0 or higher
  • A local server environment like XAMPP or MAMP for testing PHP scripts locally.

How to Run

  1. Clone the repository to your local machine:
    git clone https://github.com/MuhammadZulhusni/php-programs.git
    
  2. Navigate to the repository directory:
    cd php-programs
    
  3. Run the PHP script using PHP CLI:
    • For each PHP program, run it in the terminal.
    • Replace your-program-file.php with the actual PHP file name (e.g., atm.php).
    php your-program-file.php

Contributing

Contributions are welcome! If you have new programs or improvements to the existing ones, feel free to fork the repository and submit a pull request.

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add a new feature)
  4. Push to the branch (git push origin feature-branch)
  5. Open a pull request

About

A collection of simple PHP programs focused on practicing and improving PHP skills, covering basic to intermediate concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages