Skyhwk / skyhwk-repository by Skyhwk

A simple repository package for Laravel and Lumen
45
0
1
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

Skyhwk Repository

A simple repository package for Laravel and Lumen to store and retrieve text files.

1. Installation

Run the following command to install the package:

composer require skyhwk/repository

2. Setup in Laravel or Lumen

For Laravel

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

For Lumen

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

Now, you're ready to start using Skyhwk\Repository in your project!