Vyze / ghpb by Vyze

A simple browser for github projects. Package for laravel 4
6
0
1
Package Data
Maintainer Username: Vyze
Package Create Date: 2015-01-09
Package Last Update: 2015-01-25
Language: CSS
License: MIT
Last Refreshed: 2024-11-19 03:07:06
Package Statistics
Total Downloads: 6
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Github project browser

Version: 0.1

License

The github project browser is open-sourced software licensed under the MIT license

Description

This is an add-on for Laravel 4. Main functional is to search projects and users on github.com , to show their details, to fix like status in local database for chosen item. You can watch screenshots from docs/screenshots/.

Installation:

Before you start, be sure you have an api token set in you github account with read access to repo and user.

1. Modify your composer.json :

  • add to "require" block:

    "vyze/ghpb": "dev-master"
    
  • add to "post-install-cmd" and "post-update-cmd" blocks:

    "php artisan config:publish graham-campbell/github",
    "php artisan config:publish vyze/ghpb",
    "php artisan asset:publish --path='vendor/vyze/ghpb/public/' ghpb",
    "php artisan asset:publish --path='vendor/twbs/bootstrap/dist/' bootstrap",
    

2. config

  • modify you app/config/app.php :

    'providers' => array( // ... 'GrahamCampbell\GitHub\GitHubServiceProvider', //GitHub API 'Vyze\Ghpb\GhpbServiceProvider', //GitHub project browser )

  • app/config/packages/graham-campbell/config.php: add your github api token here:

    'main' => array(
        'token'   => 'your-token',
    ), 
    
  • app/config/packages/vyze/config.php: you can set default github vendor/project and the root route for package

3. migrations:

After all abow you need to create a database structure

    php artisan migrate --package='vyze/ghpb'