2017 © Pedro Peláez
 

package ghpb

A simple browser for github projects. Package for laravel 4

image

vyze/ghpb

A simple browser for github projects. Package for laravel 4

  • Sunday, January 25, 2015
  • by Vyze
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Github project browser

Version: 0.1

License

The github project browser is open-sourced software licensed under the MIT license, (*1)

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/., (*2)

Installation:

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

1. Modify your composer.json :

  • add to "require" block:, (*4)

    "vyze/ghpb": "dev-master"
  • add to "post-install-cmd" and "post-update-cmd" blocks:, (*5)

    "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 :, (*6)

    '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:, (*7)

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

3. migrations:

After all abow you need to create a database structure

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

The Versions

25/01 2015

dev-master

9999999-dev

A simple browser for github projects. Package for laravel 4

  Sources   Download

MIT

The Requires

 

by Avatar Vyze