PHPackages                             avto-dev/static-references-laravel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. avto-dev/static-references-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

avto-dev/static-references-laravel
==================================

Static references for Laravel applications

v4.7.0(10mo ago)134.5k↓46.9%61MITPHPPHP ^8.1CI passing

Since Oct 25Pushed 10mo agoCompare

[ Source](https://github.com/avto-dev/static-references-laravel)[ Packagist](https://packagist.org/packages/avto-dev/static-references-laravel)[ RSS](/packages/avto-dev-static-references-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (27)Used By (1)

 [![Laravel](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

Wrappers around data from `static-references-data`
==================================================

[](#wrappers-around-data-from-static-references-data)

[![Version](https://camo.githubusercontent.com/ea5d45a16cb74ed9c1755c3e924023652ca3732fff6e5210950e57ab8bdcde12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6176746f2d6465762f7374617469632d7265666572656e6365732d6c61726176656c2e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/static-references-laravel)[![PHP Version](https://camo.githubusercontent.com/caca6f19e6b51e44d32cdf15f3209c4f55c54187bdcb6e592fd11e26c0f20a74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6176746f2d6465762f7374617469632d7265666572656e6365732d6c61726176656c2e7376673f6c6f6e6743616368653d74727565)](https://packagist.org/packages/avto-dev/static-references-laravel)[![Build Status](https://camo.githubusercontent.com/ad37bf1cd9846e4c98654cc76faf835565fe853cdf56c209144c5b91505a944b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6176746f2d6465762f7374617469632d7265666572656e6365732d6c61726176656c2f74657374732e796d6c)](https://github.com/avto-dev/static-references-laravel/actions)[![Coverage](https://camo.githubusercontent.com/6b11e99ab766e47fc5c9bd6de20a86c4c52d6b38c6cdc49468236698a610ae3d/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6176746f2d6465762f7374617469632d7265666572656e6365732d6c61726176656c2f6d61737465722e7376673f6d61784167653d3630)](https://codecov.io/gh/avto-dev/static-references-laravel/)[![Downloads count](https://camo.githubusercontent.com/51abedc6a9cc44e6a0b5fb2c5333c60f522495881b2d45df929b6081a83fb061/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6176746f2d6465762f7374617469632d7265666572656e6365732d6c61726176656c2e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/static-references-laravel)[![License](https://camo.githubusercontent.com/f67f64eb7323975f4231f3efc9558c1515b4461ad32d3e35f8d7b9c832810fac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6176746f2d6465762f7374617469632d7265666572656e6365732d6c61726176656c2e7376673f6c6f6e6743616368653d74727565)](https://github.com/avto-dev/static-references-laravel/blob/master/LICENSE)

Using this package you can get access to the data from package [avto-dev/static-references-data](https://github.com/avto-dev/static-references-data) simpler and more convenient.

Service-provider for integration with Laravel application comes too.

Install
-------

[](#install)

Require this package with composer using the following command:

```
$ composer require avto-dev/static-references-laravel "^4.0"
```

> Installed `composer` is required ([how to install composer](https://getcomposer.org/download/)).

> You need to fix the major version of package.

Usage
-----

[](#usage)

Use illuminate service container for getting access to the references instances. For example, in artisan command:

```
