PHP Classes
elePHPant
Icontem

PHP Page Preview: Display the preview of a page like Facebook posts

Recommend this page to a friend!
  Info   View files Documentation   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2019-08-07 (6 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 304 This week: 2All time: 7,234 This week: 180Up
Version License PHP version Categories
url-preview-box-php 1.0.0GNU General Publi...5HTML, PHP 5
Description Author

This class can be used to display the preview of a page like Facebook posts.

It takes as parameter the URL of a given page and retrieves that page HTML to parse it.

The class extract several relevant details of the page and returns a JSON encoded array that is used on the browser side to render a preview of the page using HTML and JavaScript provided by this package.

Recommendations

What is the best PHP url preview class?
I need library for loading URL preview box in my code

Innovation Award
PHP Programming Innovation award winner
August 2019
Winner
Facebook allows users to submit posts that refer external pages. When the user is composing a post, the user can see a preview of an external page embedded in the preview of the post being edited.

This package allows implementing a similar feature on regular sites. It can display previews of external pages on posts being created in any PHP site.

Manuel Lemos
  Performance   Level  
Name: Vivek moyal <contact>
Classes: 7 packages by
Country: India India
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

 

Details

url-preview-box-php

Use this class for creating the URL preview box just like facebook or other websites does. Enter url and it will create the preview box.

If you are using the URL which is HTTPS then it will not work over the localhost. Your application need to be hosted over the server

  Files folder image Files  
File Role Description
Files folder imagevendor (1 directory)
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation
Plain text file urlDetails.php Class Class source

  Files folder image Files  /  vendor  
File Role Description
Files folder imagebootstrap (3 directories)

  Files folder image Files  /  vendor  /  bootstrap  
File Role Description
Files folder imagecss (2 files)
Files folder imagefonts (1 file)
Files folder imagejs (2 files)

  Files folder image Files  /  vendor  /  bootstrap  /  css  
File Role Description
  Accessible without login Plain text file bootstrap.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data

  Files folder image Files  /  vendor  /  bootstrap  /  fonts  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  vendor  /  bootstrap  /  js  
File Role Description
  Accessible without login Plain text file bootstrap.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:304
This week:2
All time:7,234
This week:180Up