• Stars
    star
    1,228
  • Rank 38,213 (Top 0.8 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 9 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PHPHub for iOS is the universal iPhone and iPad application for PHPHub

PHPHub-iOS

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 [email protected].

PHPHub related projects

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

中文文档

Features

Screenshots

iPhone

iPad

Requirements

  • An iPhone/iPad running iOS 8.0+
  • Xcode 7.0 or above

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! 🍻

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

  • @Aufree - An engineer love of technology.
  • @Moneky - Amazing guy.
  • @Summer - The only true man I have always admire, this guy can do anything.

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:

Project Introduction
MJRefresh An easy way to use pull-to-refresh
Qiniu Qiniu cloud iOS SDK
DateTools Dates and times made easy in Objective-C
GVUserDefaults NSUserDefaults access via properties.
FDFullscreenPopGesture An UINavigationController's category to enable fullscreen pop gesture in an iOS7+ system style with AOP.
UIActionSheet+Blocks Category 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