Skip to content

A basic example of student registration using the terminal with doctrine in php

Notifications You must be signed in to change notification settings

willavelar/php-doctrine-basic-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Doctrine Basic Terminal

PHP Version Support Composer Version Support

It is an example of using a doctrine with php via a terminal command and sqlite, in a student registration with a telephone relationship and courses linked to it.

Installation

composer install

How To Use

This this section explains how to use the command line with php execution.

  • New student registration
php bin/student-insert.php '{name}'
  • New student registration with phones
php bin/student-insert.php '{name}' '{phone1}' '{phone2}' ...
  • New course registration
php bin/course-insert.php
  • List of registered students information
php bin/student-list.php
  • List of registered courses
php bin/course-list.php
  • Relationship with student and course
php bin/student-enroll.php '{studentId}' '{corseId}'
  • Number of registered students
php bin/student-count.php
  • Search student by name
php bin/student-search.php
  • Change student name
php bin/student-rename.php
  • Delete student
php bin/student-delete.php

About

A basic example of student registration using the terminal with doctrine in php

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages