Skip to content

aftondowney/countRepeats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Count Repeats

This app will count how many times a specified word appears in a given sentence, 2/18/2016

By Afton Downey

Description

This app was built with PHP using Silex and Twig templates. The purpose of this app is for a user to insert a desired sentence (length does not appear to be an issue), and a word within the sentence they wish to count for repeats. The program will output how many times the specified word appears.

Setup/Installation Requirements

  • Fork or clone from GitHub
  • Please create a separate branch if you cloned
  • Open the folder in a text editor like Atom to view the code
  • In your terminal for the site to work, use the command "composer update"
  • To see the page displayed on the front end, within the terminal navigate to the web folder to initialize a local server
  • Type in the command "php -S localhost:8000" to start the server
  • Use localhost:8000 in your web browser to view the page

Known Bugs

As of 2/18/16 there are no none bugs but sentence length has not been accounted for so it is possible it may cause the app to crash. Please feel free to let us know if that happens if we haven't tested it yet.

Technologies Used

This app was built in PHP using Silex, Twig and PHPUnit.

License

MIT License

Copyright (c) 2016 Afton Downey

About

PHP Week 2 code review

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published