PHP Classes

How to Implement a PHP Search Engine using Scopr: Crawl and search Web site pages, images and news

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (51)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 118 This week: 1All time: 9,496 This week: 111Up
Version License PHP version Categories
scopr 1.0.0The PHP License5PHP 5, Databases
Description 

Author

This package can crawl and search Web site pages, images, and news pages.

It implements a search engine to crawl pages and store page information in a MySQL database using PDO.

The package can also present a Web interface to let users perform searches using text keywords.

The search result pages appear as split tabs to separate the results for Web pages, images, or news pages.

Innovation Award
PHP Programming Innovation award nominee
December 2022
Number 8
Search engine sites help users find the information that they want.

Having a search engine on a site is very useful for site users.

This package implements a search engine that can crawl pages and extract content to be searched and links for images.

This way, it can provide a search feature for a site on its pages, showing different sections in the results pages depending on the type of content found.

Manuel Lemos
Picture of Hillary Kollan
  Performance   Level  
Name: Hillary Kollan <contact>
Classes: 10 packages by
Country: Ghana Ghana
Age: ???
All time rank: 32113 in Ghana Ghana
Week rank: 39 Up2 in Ghana Ghana Up
Innovation award
Innovation award
Nominee: 5x

Documentation

Flex Box and PHP based Search Engine

Description

$ UI/UX built with flex box
$ Custom crawler using file_get_contents for links(href), titles, images(img elements and src attribute)

<h2 id="screenshots">Screenshots</h2>

![](screenshots/1.png) ![](screenshots/2.png) ![](screenshots/3.png)


Screenshots  
  • screenshots/1.png
  • screenshots/2.png
  • screenshots/3.png
  Files folder image Files  
File Role Description
Files folder image.idea (4 files, 1 directory)
Files folder imagecontrollers (3 files, 1 directory)
Files folder imagemodels (6 files)
Files folder imagepublic (3 directories)
Files folder imagestorage (1 directory)
Files folder imageviews (8 files, 1 directory)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file config.php Aux. Auxiliary script
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  .idea  
File Role Description
Files folder imagecopyright (1 file)
  Accessible without login Plain text file android.iml Data Auxiliary data
  Accessible without login Plain text file misc.xml Data Auxiliary data
  Accessible without login Plain text file modules.xml Data Auxiliary data
  Accessible without login Plain text file workspace.xml Data Auxiliary data

  Files folder image Files  /  .idea  /  copyright  
File Role Description
  Accessible without login Plain text file profiles_settings.xml Data Auxiliary data

  Files folder image Files  /  controllers  
File Role Description
Files folder imagehelpers (3 files)
  Plain text file LoginController.php Class Class source
  Plain text file SearchController.php Class Class source
  Plain text file SMSController.php Class Class source

  Files folder image Files  /  controllers  /  helpers  
File Role Description
  Accessible without login Plain text file crons.php Aux. Auxiliary script
  Plain text file Headers.php Class Class source
  Plain text file Requests.php Class Class source

  Files folder image Files  /  models  
File Role Description
  Accessible without login Plain text file config.ini Data Auxiliary data
  Plain text file Connection.php Class Class source
  Plain text file DB.php Class Class source
  Plain text file DomDocumentParser.php Class Class source
  Plain text file Search.php Class Class source
  Plain text file SMS.php Class Class source

  Files folder image Files  /  public  
File Role Description
Files folder imageimages (7 files)
Files folder imagescripts (3 files)
Files folder imagestyles (3 files)

  Files folder image Files  /  public  /  images  
File Role Description
  Accessible without login Image file logo.gif Icon Icon image
  Accessible without login Image file page.png Icon Icon image
  Accessible without login Image file pageEnd.png Icon Icon image
  Accessible without login Image file pageSelected.png Icon Icon image
  Accessible without login Image file pageStart.png Icon Icon image
  Accessible without login Image file scopr.png Icon Icon image
  Accessible without login Image file search.png Icon Icon image

  Files folder image Files  /  public  /  scripts  
File Role Description
  Accessible without login Plain text file fancybox.js Data Auxiliary data
  Accessible without login Plain text file jquery.js Data Auxiliary data
  Accessible without login Plain text file script.js Data Auxiliary data

  Files folder image Files  /  public  /  styles  
File Role Description
  Accessible without login Plain text file fancybox.css Data Auxiliary data
  Accessible without login Plain text file search.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  storage  
File Role Description
Files folder imagelogs (4 files)

  Files folder image Files  /  storage  /  logs  
File Role Description
  Accessible without login Plain text file 2017-12-07.csv Data Auxiliary data
  Accessible without login Plain text file 2018-02-21.csv Data Auxiliary data
  Accessible without login Plain text file 2018-03-03.csv Data Auxiliary data
  Accessible without login Plain text file 2020-01-30.csv Data Auxiliary data

  Files folder image Files  /  views  
File Role Description
Files folder imageapi (6 files)
  Accessible without login Plain text file crawl.php Example Example script
  Accessible without login Plain text file crawlDesc.php Example Example script
  Accessible without login Plain text file crawlImage.php Example Example script
  Accessible without login Plain text file crawlTitle.php Example Example script
  Accessible without login Plain text file footer.php Aux. Auxiliary script
  Accessible without login Plain text file header.php Aux. Auxiliary script
  Accessible without login Plain text file index.php Aux. Auxiliary script
  Accessible without login Plain text file search.php Example Example script

  Files folder image Files  /  views  /  api  
File Role Description
  Accessible without login Plain text file brokenLinks.php Example Example script
  Accessible without login Plain text file login.php Example Example script
  Accessible without login Plain text file sms.php Example Example script
  Accessible without login Plain text file stations.php Example Example script
  Accessible without login Plain text file updateImageLinks.php Example Example script
  Accessible without login Plain text file updateLink.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:118
This week:1
All time:9,496
This week:111Up