vyze/ghpb

A simple browser for github projects. Package for laravel 4

Maintainers

Details

github.com/Vyze/ghpb

Source

Issues

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:CSS

Type:package

dev-master 2015-01-25 11:55 UTC

This package is not auto-updated.

Last update: 2024-11-23 17:46:39 UTC


README

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'