Package Data | |
---|---|
Maintainer Username: | Skyhwk |
Maintainer Contact: | dedi@intilab.com (Skyhwk) |
Package Create Date: | 2025-01-10 |
Package Last Update: | 2025-01-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-09-11 15:00:05 |
Package Statistics | |
---|---|
Total Downloads: | 45 |
Monthly Downloads: | 22 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
A simple repository package for Laravel and Lumen to store and retrieve text files.
Run the following command to install the package:
composer require skyhwk/repository
Add the service provider to config/app.php
:
Providers:
Skyhwk\Repository\RepositoryServiceProvider::class,
Aliases:
'Repository' => Skyhwk\Repository.RepositoryFacade::class,
Run the following command to refresh the autoloader:
composer dump-autoload
Register the service provider by adding the following line in bootstrap/app.php
:
$app->register(Skyhwk\Repository\RepositoryServiceProvider::class);
Add the alias:
class_alias(Skyhwk\Repository\RepositoryFacade::class, 'Repository');
Run the following command to refresh the autoloader:
composer dump-autoload