Home

Awesome

<p align="center"> <img src="http://ww4.sinaimg.cn/large/76dc7f1bgw1eyfw7ewb0nj20q808774z.jpg" alt="PHPHub-iOS" title="PHPHub-iOS" width="1000"/> </p> <p align="center"> <a href="https://weibo.com/jinfali"><img src="https://img.shields.io/badge/contact-@Aufree-orange.svg?style=flat"></a> <a href="https://itunes.apple.com/us/app/phphub-ji-ji-xiang-shang-php/id1052966564"><img src="https://img.shields.io/badge/App%20Store-%EF%A3%BF%20Download-blue.svg"></a> <a href="https://github.com/Aufree/phphub-ios/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat"></a> </p>

PHPHub is a Forum project written in Laravel 4.2, and it is also the project build up PHP & Laravel China community.

PHPHub for iOS is the universal iPhone and iPad application for PHPHub, This is the official PHPHub iOS client that uses the newly introduced official PHPHub API, One of the cool features of the new API are updates pushed in real time.

If you have any questions please don't hesitate to ask them in an issue or email me at phphub.org@gmail.com.

PHPHub related projects

You can checkout the others open source projects of PHPHub in the following list.

中文文档

Features

Screenshots

iPhone

iPad

Requirements

Build Instructions

If you're not install the Cocoapods on your machine, Run:

$ gem install cocoapods $ pod setup

Download the source code

$ git clone https://github.com/Aufree/phphub-ios

Now you'll need to build the dependencies

$ pod install

Next you'll need to create your own version of environment-specific data. Make a copy of SecretConstant.example.h as SecretConstant.h:

$ cp PHPHub/Constants/SecretConstant.example.h PHPHub/Constants/SecretConstant.h

Now you need to apply for a Client_id and a Client_secret in this link (Use in production environments).

Open SecretConstant.h and set it up.

Run this command to create a plist file for Jpush.

$ cp PHPHub/PushConfig.example.plist PHPHub/PushConfig.plist

You can setup your Jpush appkey in PHPHub/PushConfig.plist if you want to use Jpush.

Run the application in the debug mode.

Select Product -> Scheme -> Edit Schemes -> Info -> Change Build Configuration to Debug mode.

Important: You shouldn't test your code in production environment!

Open PHPHub.xcworkspace in Xcode.

Note: Don't open the .xcodeproj because we use Cocoapods now!

That's it! Have Fun! :beers:

How should I Login?

Development Environment

Scan this QRCode by using PHPHub for iOS application.

Production Environment

Go to PHPHub's official website and Login with GitHub. then find your QRCode in your personal page. It should look like this:

Who made this

I'm Aufree, A passionate engineer, leading member of The EST Group, and while I am college dropout, I want to make some cool stuff in GitHub, That's why I'm here, you can ping me on Twitter or follow me on Weibo If you find an issue.

Contributers

Contributing

Thank you for your interest in contributing to PHPHub for iOS! Your ideas for improving this app are greatly appreciated. The best way to contribute is by submitting a pull request. I'll do my best to respond to you as soon as possible. You can also submit a new GitHub issue if you find bugs or have questions.

Third-party Libraries

This software additionally references or incorporates the following sources of intellectual property, the license terms for which are set forth in the sources themselves:

The following dependencies are bundled with the PHPHub, but are under terms of a separate license:

ProjectIntroduction
MJRefreshAn easy way to use pull-to-refresh
QiniuQiniu cloud iOS SDK
DateToolsDates and times made easy in Objective-C
GVUserDefaultsNSUserDefaults access via properties.
FDFullscreenPopGestureAn UINavigationController's category to enable fullscreen pop gesture in an iOS7+ system style with AOP.
UIActionSheet+BlocksCategory on UIActionSheet to use inline block callbacks instead of delegate callbacks.

For a more complete list, check the Podfile.

Thanks for

License

Copyright (c) 2015-2018 Paul King


Released under the MIT license