https://github.com/Torann/laravel-registry
Registry manager for Laravel 4 & 5. An alternative for managing application configurations and settings. Now with the magic of caching.
https://github.com/Torann/laravel-registry
Last synced: 27 days ago
JSON representation
Registry manager for Laravel 4 & 5. An alternative for managing application configurations and settings. Now with the magic of caching.
- Host: GitHub
- URL: https://github.com/Torann/laravel-registry
- Owner: Torann
- License: bsd-2-clause
- Created: 2013-11-09T19:52:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T12:21:29.000Z (almost 7 years ago)
- Last Synced: 2024-11-05T16:14:02.902Z (7 months ago)
- Language: PHP
- Homepage: http://lyften.com/projects/laravel-registry
- Size: 33.2 KB
- Stars: 22
- Watchers: 7
- Forks: 16
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Registry Manager for Laravel
[](https://packagist.org/packages/torann/registry) [](https://packagist.org/packages/torann/registry)
Registry manager for Laravel 5. An alternative for managing application configurations and settings. Now with the magic of caching, so no more database calls to simply get site setting.
----------
## Installation
- [Registry on Packagist](https://packagist.org/packages/torann/registry)
- [Registry on GitHub](https://github.com/Torann/laravel-registry)
- [Laravel 4 Installation](http://lyften.com/projects/laravel-registry/doc/laravel-4.html)To get the latest version of Registry simply require it in your `composer.json` file.
~~~
"torann/registry": "0.2.*@dev"
~~~You'll then need to run `composer install` to download it and have the autoloader updated.
Once Registry is installed you need to register the service provider with the application. Open up `app/app.php` and find the `providers` key.
```php
'providers' => array(
'Torann\Registry\RegistryServiceProvider',
)
```Registry also ships with a facade which provides the static syntax for creating collections. You can register the facade in the aliases key of your `app/app.php` file.
```php
'aliases' => array(
'Registry' => 'Torann\Registry\Facades\Registry',
)
```### Publish the configurations and migration
Run this on the command line from the root of your project:
~~~
$ php artisan vendor:publish
~~~A configuration file will be publish to `config/registry.php` and a migration file to `database/migrations/`
## Documentation
[View the official documentation](http://lyften.com/projects/laravel-registry/).
## Change Log
#### v0.2.0
- Update to Laravel 5
#### v0.1.3
- Added timestamp managers for multi-instance websites
- Added custom caching#### v0.1.2
- Added config for custom table name
- Added forced variable types
- Code cleanup#### v0.1.1
- Bug fixes
#### v0.1.0
- First release