PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 546 All time: 5,540 This week: 41Up
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.

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
Picture of Vivek moyal
  Performance   Level  
Name: Vivek moyal is available for providing paid consulting. Contact Vivek moyal .
Classes: 7 packages by
Country: India India
Age: ???
All time rank: 35519 in India India
Week rank: 43 Up5 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Recommendations

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

Documentation

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 (8)  
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 (8)  /  vendor  
File Role Description
Files folder imagebootstrap (3 directories)

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

  Files folder image Files (8)  /  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 (8)  /  vendor  /  bootstrap  /  fonts  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files (8)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:546
This week:0
All time:5,540
This week:41Up
User Comments (1)