boloround / count_repeats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Count Repeats

This app will find word matches in a string. Current version on 8/14/2015.

###By Joe Hartman

##Description

This app will accept two inputs from the user: a word and a string to be searched. It will return the number of times the search word is found in the string to be searched.

##Setup

  1. Clone this repository into a project folder. Using the console, navigate to that folder and recreate the repository using the command 'git clone (link to repository)'.
  2. Make sure Composer is available. If you need it you can find it here.
  3. Run the command 'composer install' to download the Silex and Twig vendor files plus PHPUnit test files.
  4. Change directory to the 'web' folder and start your php server using the command 'php -S localhost:8000'. Bring up the index.php page for the site by opening a browser and typing localhost:8000 in the address bar.

##Technologies used

The app uses PHP, the Silex micro-framework, Twig templates and PHPUnit test files.

Copyright (c) 2015 Joe Hartman

This software is licensed under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About


Languages

Language:PHP 67.2%Language:HTML 32.8%