# Learn By Example

A hands-on introduction to Chevere using example scripts.

# Examples Repository

The repository chevere/examples holds a variety of working examples that will help you to learn how to use Chevere.

👍🏾 Feel free to contribute to this repository

# Installing

  1. Clone the repository (requires git).
git clone git@github.com:chevere/examples.git

Will clone it to examples/

  1. Install the dependencies (requires Composer).
composer install

The dependencies will be at vendor/.

# Browsing

Each folder represents an example topic, like 00.HelloWorld/ for "Hello, World" or 02.VarDump/ for VarDump component.

👴🏾 All files and folders use a numeric index representing levels of complexity

# Running

php <pathToScript>

To run the ubiquitous "Hello, World":

php 00.HelloWorld/00.controller.php 

# Recommendations

# Contributing

The examples repo is a playground, everything concerning potential uses is welcome.

Feel free to suggests examples that should be added or to share your own.

🧔🏾 Try to think about Chevere as butter, you want it (mostly) everywhere