Skip to main content

Posts

Showing posts with the label PHP Projects

PhpGram - A PHP library for interacting with the Telegram Bot API.

PhpGram PhpGram is a PHP library for interacting with the Telegram Bot API, providing easy-to-use methods for sending messages, media, managing chats, stickers, inline queries, payments, and more. {% github https://github.com/SH20RAJ/phpgram %} Table of Contents Installation Usage Initialization Basic Usage Sending Messages and Media Managing Chats and Members Handling Stickers Inline Mode Payments Games Handling Updates Contributing License Installation Install PhpGram via Composer : composer require sh20raj/phpgram Alternatively, you can clone the repository: git clone https://github.com/SH20RAJ/phpgram.git Usage Initialization First, include the library in your PHP file and initialize PhpGram with your bot token: require_once 'path/to/phpgram.php'; $token = 'YOUR_BOT_TOKEN'; $bot = new PhpGram($token); Basic Usage // Example: Get bot information $botInfo = $bot->getMe(); echo 'Bot Username: ' . $botInfo['result'][...

Creating an Instagram YouTube Downloader using PHP

 Creating an Instagram YouTube Downloader using PHP Source Code :-  GitHub  - Repl.it

Create a Google Drive Video Player Website Using DRIVE API an PHP Language

Chats During #1 Video Making Today We Will Create a Google Drive Video Player  Using DRIVE API an PHP My Drive Api key :- AIzaSyAHIDPKFSVbDwk-NdlAW8n3uh2q6AJkyAA Drive Video Url :-  https://drive.google.com/file/d/1J4fxkvFT8hk9RLWCoii8_quwyPxUX2CD/view Other Way :-  Steps :-  use following code $json_api  =  file_get_contents ( 'https://filedeo.com/api?id=[File ID]&api=[Api Key]' ); $source  =  json_decode ( $json_api ,  true ); $source  =  $source [ 'source' ]; Here the $source will be your file ...... https://filedeo.com/api?id=[File ID]&api=[API Key] Example :-  https://filedeo.com/api?id=1iMff2P2NzVuEELCPt6iDJH6itzmPdOix&api=AIzaSyD739-eb6NzS_KbVJq1K8ZAxnrMfkIqPyw

Create a URL Shortener Website like bit.ly

We can create 3 types of Services  1. Create Without using Database ..... Examle :- https://bit.ly/?url= https://example.com/  2.Using Database Examle :- https://bit.ly/?id= uniqueid  3. Using Database and .htaccess Both Examle :- https://bit.ly/ uniqueid 1. Create Without using Database Only This File Source Code :- https://github.com/SH20RAJ/urlshortener/blob/main/index1-without-using-database.php Full Website Source Code :- https://github.com/SH20RAJ/urlshortener 2. Using Database

Random Posts