Skip to content

Commit

Permalink
Merge pull request #3 from cleaniquecoders/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
nasrulhazim authored Feb 10, 2023
2 parents db8c063 + cabb4d4 commit 00e796f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 53 deletions.
21 changes: 1 addition & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
[![Test](https://github.com/cleaniquecoders/lookup/actions/workflows/run-tests.yml/badge.svg)](https://github.com/cleaniquecoders/lookup/actions/workflows/run-tests.yml) [![Update Changelog](https://github.com/cleaniquecoders/lookup/actions/workflows/update-changelog.yml/badge.svg)](https://github.com/cleaniquecoders/lookup/actions/workflows/update-changelog.yml) [![PHPStan](https://github.com/cleaniquecoders/lookup/actions/workflows/phpstan.yml/badge.svg)](https://github.com/cleaniquecoders/lookup/actions/workflows/phpstan.yml) [![Fix PHP Code Styling](https://github.com/cleaniquecoders/lookup/actions/workflows/fix-php-code-style-issues.yml.yml/badge.svg)](https://github.com/cleaniquecoders/lookup/actions/workflows/fix-php-code-style-issues.yml.yml)
[![Test](https://github.com/cleaniquecoders/lookup/actions/workflows/run-tests.yml/badge.svg)](https://github.com/cleaniquecoders/lookup/actions/workflows/run-tests.yml) [![Update Changelog](https://github.com/cleaniquecoders/lookup/actions/workflows/update-changelog.yml/badge.svg)](https://github.com/cleaniquecoders/lookup/actions/workflows/update-changelog.yml) [![PHP Linting (Pint)](https://github.com/cleaniquecoders/lookup/actions/workflows/lint.yml/badge.svg)](https://github.com/cleaniquecoders/lookup/actions/workflows/lint.yml)

## About Your Package

Lookup package allow you to have common information such contact types, education levels, etc.

A full list of keys are available [keys](keys).

For metadata, following are the current list available.

1. Social Media
2. Currency
3. Country
4. Technical Skill
5. Database
6. Language
7. MIME
8. Skills Proficiency

Please take note all above are sample of the data available. You may modify as necessary when you have publish / create your own seeders.

## Installation
Expand Down Expand Up @@ -44,12 +31,6 @@ Get lookup data:
lookup('education.qualification');
```

Get metada data:

```php
metadata('Currency');
```

## Test

Run the following command:
Expand Down
2 changes: 1 addition & 1 deletion config/lookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
return [
'model' => Lookup::class,
'cache_duration' => env('LOOKUP_CACHE_DURATION', 60),
'seeder' => base_path('/app/lookup.json'),
'seeder' => base_path('app/lookup.json'),
];
31 changes: 0 additions & 31 deletions keys

This file was deleted.

2 changes: 1 addition & 1 deletion src/Models/Lookup.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Models;
namespace CleaniqueCoders\Lookup\Models;

use Illuminate\Database\Eloquent\Model;

Expand Down

0 comments on commit 00e796f

Please sign in to comment.