PHPackages                             jeremykenedy/laravel-packagist - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. jeremykenedy/laravel-packagist

ActivePackage[API Development](/categories/api)

jeremykenedy/laravel-packagist
==============================

v1.0.1(6y ago)62742MITPHPPHP &gt;=7.1.3

Since Jul 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jeremykenedy/laravel-packagist)[ Packagist](https://packagist.org/packages/jeremykenedy/laravel-packagist)[ RSS](/packages/jeremykenedy-laravel-packagist/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

[![Laravel Packagist](https://camo.githubusercontent.com/5cd3ee4c657e2da0a74bb2922d4bece886eee451de941bf21bd8fa97e0e00b46/68747470733a2f2f6769746875622d70726f6a6563742d696d616765732e73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f6c6f676f732f6c61726176656c2d7061636b61676973742d6c6f676f2e706e67)](https://camo.githubusercontent.com/5cd3ee4c657e2da0a74bb2922d4bece886eee451de941bf21bd8fa97e0e00b46/68747470733a2f2f6769746875622d70726f6a6563742d696d616765732e73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f6c6f676f732f6c61726176656c2d7061636b61676973742d6c6f676f2e706e67)

Laravel Packagist
=================

[](#laravel-packagist)

Laravel Packagist (LaravelPackagist) is a package for Laravel 5 to interact with the packagist api quickly and easily.

[![Latest Stable Version](https://camo.githubusercontent.com/9d90495c0d4b8a3efd334bcda6508ce7437039af8f008593250002360beee762/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d7061636b61676973742f762f737461626c652e737667)](https://packagist.org/packages/jeremykenedy/laravel-packagist)[![Total Downloads](https://camo.githubusercontent.com/87c4b75b3a8804499cc6c12ed3690cbe2bf02d5564820e2caaa573338f5fd35d/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d7061636b61676973742f642f746f74616c2e737667)](https://packagist.org/packages/jeremykenedy/laravel-packagist)[![Travis-CI Build](https://camo.githubusercontent.com/c2401c4287ea6d1f536cde1a945dd3abb9cb9cc5518fc1e188d25f5e8d163a22/68747470733a2f2f7472617669732d63692e6f72672f6a6572656d796b656e6564792f6c61726176656c2d7061636b61676973742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jeremykenedy/laravel-packagist)[![StyleCI](https://camo.githubusercontent.com/ba6ce33e2c4df502d379c10ffd52e830e212988c270503f7a500122028f79c98/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3139343137313633342f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/194171634)[![Scrutinizer Build Status](https://camo.githubusercontent.com/b6ad7d3d14850c2c223cab3445df05bf979a035dc5b1e3c3153637e234a1061f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6572656d796b656e6564792f6c61726176656c2d7061636b61676973742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jeremykenedy/laravel-packagist/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d999b0ea4cbaecb7337115c753169df75f1148239c5c442d9c9c439238b5b3ff/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6572656d796b656e6564792f6c61726176656c2d7061636b61676973742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jeremykenedy/laravel-packagist/?branch=master)[![MadeWithLaravel.com shield](https://camo.githubusercontent.com/53261cb302508f0a233249abc7504a384a4c962d85da441afcd3bce54c77366e/68747470733a2f2f6d616465776974686c61726176656c2e636f6d2f73746f726167652f7265706f2d736869656c64732f313537332d736869656c642e737667)](https://madewithlaravel.com/p/laravel-packagist/shield-link)[![License](https://camo.githubusercontent.com/49453506ce7dbfe603a280c013837ff5b338aba02bc99a14063999b286055d93/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d7061636b61676973742f6c6963656e7365)](https://packagist.org/packages/jeremykenedy/laravel-packagist)

#### Table of contents

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation Instructions](#installation-instructions)
    - [Publish All Assets](#publish-all-assets)
    - [Publish Specific Assets](#publish-specific-assets)
- [Usage](#usage)
- [Configuration](#configuration)
    - [Environment File](#environment-file)
- [File Tree](#file-tree)
- [License](#license)

### Features

[](#features)

Laravel Packagist FeaturesQuicky start pulling vendor data from packagist via the APIQuicky start pulling package data from packagist via the APICan use laravel built in cache to make it even fasterConfig options extend to `.env` fileUses [localization](https://laravel.com/docs/5.8/localization) language files### Requirements

[](#requirements)

- [Laravel 5.4, 5.5, 5.6, 5.7, or 5.8+](https://laravel.com/docs/installation)

### Installation Instructions

[](#installation-instructions)

1. From your projects root folder in terminal run:

    ```
        composer require jeremykenedy/laravel-packagist
    ```
2. Register the package

- Laravel 5.5 and up Uses package auto discovery feature, no need to edit the `config/app.php` file.
- Laravel 5.4 and below Register the package with laravel in `config/app.php` under `providers` with the following:

```
    'providers' => [
        jeremykenedy\LaravelPackagist\LaravelPackagistServiceProvider::class,
    ];
```

3. Optionally publish the packages views, config file, assets, and language files by running the following from your projects root folder:

#### Publish All Assets

[](#publish-all-assets)

```
    php artisan vendor:publish --provider="jeremykenedy\LaravelPackagist\LaravelPackagistServiceProvider"
```

#### Publish Specific Assets

[](#publish-specific-assets)

```
    php artisan vendor:publish --tag=laravelpackagist-config
    php artisan vendor:publish --tag=laravelpackagist-lang
```

### Usage

[](#usage)

1. Add the following to the head of the file you are calling the methods from:

```
use jeremykenedy\LaravelPackagist\App\Services\PackagistApiServices;

```

File Example:

```
