PHP exercises from my course at ETEC and some of my own play-around with PHP

Overview

etec-php-exercises

PHP exercises from my course at ETEC and some of my own play-around with PHP

Translations: Português (BR)


Projects

Project Description Demo
aula-1-datetime Fist exercise ever, shows the current datetime and salute 🔗
tailwind-datetime A version of the first one, but with a cool card using Tailwind CSS 🔗
loja-virtual A simple and not completed web store with Bootstrap 🔗

Click on the 🔗 to see the demo

Running

How to run the projects locally.

Using PHP Development Server

For my personal use, I think that the php CLI is the best way to start a local server.

  1. Clone this repository
  2. In the repository root directory, run:
php -S localhost:<some_port_number>
# example: php -S localhost:4002
  1. Go to http://localhost:<the_port_number>/api/<exercise_name>

Using XAMPP

In the classes at ETEC, we learn using XAMPP to run the local server.

Since I'm not using databases yet, it is not so necessary, but you can use it:

  1. Clone this repository under <xampp_dir>/htdocs/
  2. Start the Apache Server using XAMPP
  3. Go to http://localhost/etec-php-exercises/api/<exercise_name>
You might also like...
Plug-and-Play Custom Enchants Plugin For PocketMine-PMP
Plug-and-Play Custom Enchants Plugin For PocketMine-PMP

DEVELOPER'S NOTE: I can tell you right now this plugin hasn't been tested. I haven't even checked to see if it loads without crashing yet. Half of thi

Plug-and-Play Custom Enchants Plugin For PocketMine-PMP
Plug-and-Play Custom Enchants Plugin For PocketMine-PMP

DEVELOPER'S NOTE: I can tell you right now this plugin hasn't been tested. I haven't even checked to see if it loads without crashing yet. Half of thi

A PHP library to play with the Raspberry PI's GPIO pins
A PHP library to play with the Raspberry PI's GPIO pins

php-gpio php-gpio is a simple PHP library to play with the Raspberry PI's GPIO pins. It provides simple tools such as reading & writing to pins. [UPDA

PHP scraper to get data from Google Play

nelexa/google-play-scraper PHP library to scrape application data from the Google Play store. Checking the exists of the app on Google Play. Retrievin

This plugin allow you play music from resources pack in minecraft

Music Player for PocketMine-MP Commands music-start songname music-stop songname IMPORTANT! You must add music resources pack to PocketMine resources

A good plugin to play a sound when the player hits the enemy's head

HeadshotSound A good plugin to play a sound when the player hits the enemy's head. How to use Hit the player with a snowball, egg and bow in the head

Scorm Player Api for play scorm modules

flux-scorm-player-api Scorm Player Api for play scorm modules Installation Native Download RUN (mkdir -p /%path%/libs/flux-scorm-player-api && cd /%pa

Moodle plugin to limit the access to course content according to the user level in Block Game.

Moodle plugin to limit the access to course content according to the user level in Block Game.

The goal of this course is to give you a brief introduction to GitHub.
The goal of this course is to give you a brief introduction to GitHub.

👋 The Basics of GitHub 🤓 Course overview and learning outcomes The goal of this course is to give you a brief introduction to GitHub. We’ll also pro

Owner
Luis Felipe Santos do Nascimento
I'm studding computer science and currently working with Typescript, React, Python, Golang. I love Data Science, Automation, Machine Learning, Math etc.
Luis Felipe Santos do Nascimento
It's goal is to create my own platform where I can play various board games I like.

Card games The goal of this project is to create a social platform where players can communicate, create lobbies and play various board games. Current

Ondřej Mastík 2 Oct 29, 2021
Uma loja virtual de teclados feita nas aulas de PW-II na ETEC com PHP e bootstrap

etec-tectok-teclados Uma loja virtual de teclados feita nas aulas de PW-II na ETEC com PHP e bootstrap Translations: ???? English tectok.herokuapp.com

Luis Felipe Santos do Nascimento 5 May 3, 2022
Trabalho de Conclusão de Curso - ETEC

Biblietec Trabalho de Conclusão de Curso - ETEC App usado: XAMPP Usuário do banco de dados: "biblietec" Senha banco de dados: "" (Ps: Em branco mesmo)

João Vitor Ribeiro Lopes 3 Nov 26, 2021
For beginner programmers, a list of exercises.

Hacktoberfest 2021 Junte-se ao Hacktoberfest - Aqui! Support open source throughout October! Hacktoberfest incentiva a participação na comunidade de c

Igor Gomes 5 Oct 18, 2022
Here are few exercises to practice how to implement API Security with NGINX App-Protect WAF.

api-security-lab This repo contains files for customers and partners to practice an API Security with NGINX App-Protect WAF. To demonstrate the capabi

null 4 Mar 30, 2022
Tcc realizado na Etec de Guaianazes (2021),onde eu fui o back-end e Vinicius de Almeida foi o front-end.

TCC-Facilita+ Todos os arquivos do projeto de TCC (Facilita+) da Etec de Guaianases realizado em 2021 1° Para utilizar os arquivos,primeiro será nesce

Helder Davidson Rodrigues Alvarenga 0 Jun 15, 2022
This is a simple Wrapper around the ZipArchive methods with some handy functions

Note I haven't updated this package in a long time except merging PRs. The last time I was using this package was with PHP5. I archived the repository

Nils Plaschke 845 Dec 13, 2022
This is a simple Wrapper around the ZipArchive methods with some handy functions

Note I haven't updated this package in a long time except merging PRs. The last time I was using this package was with PHP5. I archived the repository

Nils Plaschke 836 Jan 26, 2022
Get mobile app version and other related data from Google Play Store, Apple App Store and Huawei AppGallery

Mobile App Version Get mobile app version and other related data from Google Play Store, Apple App Store and Huawei AppGallery. Installation Add to co

Omer Salaj 11 Mar 15, 2022
Php-gamer - A repo with PHP 8.1, Swoole and Laminas. And of course, Docker in the front.

PHP-Gamer Instructions for run this app: First time $ git clone [email protected]:fatorx/php-gamer.git $ cd php-gamer $ chmod +x docker-build.sh $ chmod

Fabio de Souza 6 Oct 6, 2022