PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   PHP Instagram Feed Notification   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Instagram Feed Notification
Send Instagram posts by email
Author: By
Last change:
Date: 1 year ago
Size: 1,008 bytes
 

Contents

Class file image Download

ig-feed-notification

Introduction

This is the simple web service and it can send the latest Instagram feed with specific user via SMTP server.

Requirements

  • php>=5.6
  • Composer
  • SMTP server
  • MySQL/MariaDB

Usage

  • Clone the repository.
git clone https://github.com/peter279k/ig-feed-notification

  • Download composer and install the required dependencies.
php composer.phar install -n

  • Copy the `.env.example` to `.env` and set the DB host, driver, database name, user name, user password, mail host, user name and password.
cp .env.example .env

  • Copy the `phinx.yml.example` to `phinx.yml` and remember to set the database name, user name and password in the production block.
cp phinx.yml.example phinx.yml

  • Execute the database migration in the project root path.
php vendor/bin/phinx migrate

  • Visit the `index.php` via the web browser.
http://host-name-or-ip-address/ig-feed-notification/index.php

  • That's all. Enjoy it!