PHPackages                             seumunday/azdatabases - 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. [Database &amp; ORM](/categories/database)
4. /
5. seumunday/azdatabases

ActiveLibrary[Database &amp; ORM](/categories/database)

seumunday/azdatabases
=====================

Connect to alma and extract a list of databases for searching.

1.0.0(9y ago)28GNU General Public LicensePHPPHP &gt;=5.6.4

Since Mar 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/seumunday/azdatabases)[ Packagist](https://packagist.org/packages/seumunday/azdatabases)[ Docs](https://github.com/seumunday/Azdatabases)[ RSS](/packages/seumunday-azdatabases/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

AZ Databases Laravel Plugin
===========================

[](#az-databases-laravel-plugin)

This plugin allows you to connect your library website to Alma and pull down database resources and display them using HTML and Javascript.

Installation
------------

[](#installation)

TODO: Clean Up the Installation Instructions

### Composer

[](#composer)

Install with composer. Use the following command in your terminal window.

```
composer require seumunday/azdatabases

```

Create new autoloads

```
composer dump-auto

```

### Add Service Provider

[](#add-service-provider)

Add the following to your service providers in config/app.php

```
Seumunday\Azdatabases\AzdatabasesServiceProvider::class,

```

### Artisan

[](#artisan)

Use Artisan to publish the vendor files into your site. This allows you to fully customize the views.

```
php artisan vendor:publish --provider="Seumunday\Azdatabases\AzdatabasesServiceProvider"

```

**List of Transfered files:**

- config/azdatabases.php
- app/Console/commands/AzDatabaseImport.php
- resources/views/vendor/azdatabases
    - aznav.blade.php
    - index.blade.php
- resources/assets/js/vendor/azdatabases.js

#### Edit Config File

[](#edit-config-file)

Insert your OAI url from alma into the newly transfered config file.

```
'url' => 'https://YOURURLHERE'

```

> **NOTE**Learn how to get this url by reading these helpful articles from exlibris. [Alma OAI Integration API](https://developers.exlibrisgroup.com/alma/integrations/oai)[Exlibris OAI Article](https://knowledge.exlibrisgroup.com/Alma/Product_Documentation/Alma_Online_Help_(English)/Integrations_with_External_Systems/030Resource_Management/060Setting_Up_OAI_Integration)

You may also change the url slug for this plugin. Please keep in mind you will also have to change it in the azdatabases.js file that's imported as well. To change that file, set the variable on line 10 to the same value that's in the config file.

#### Set Up Command

[](#set-up-command)

In app/Console/Kernel.php, add the following to protected $commands:

```
\App\Console\Commands\AzDatabaseImport::class,

```

And the following under function schedule

```
$schedule->command('importAZDB')
        ->daily();

```

To populate it instantly, change daily() to everyMinute(), then run the following artisan command.

To run the command:

```
php artisan schedule:run

```

> NOTE: The data is populated by accessing the ALMA api, and downloading it ever day. To set this up, you will need to make sure you have set up scheduling.

***At this point, you should be able to see html loading at YOURDOMAIN/database***

### Set Up Javascript

[](#set-up-javascript)

Add the following to Elixer in your gulp file.

```
mix.webpack('vendor/azdatabases.js', 'public/assets/js');

```

If you have Laravel 5.4, it will be in your webpack.js file, and will instead look like this:

```
.js('resources/assets/js/vendor/azdatabases.js', 'public/assets/js')

```

> If you store your JS files else where, make sure to also change the script url in the view.

> If this is a new project, don't forget to run 'npm install'

#### Install vue-router

[](#install-vue-router)

This allows us to have permalinks to searches and selections. Run the following in your terminal window:

```
npm install vue-router --save

```

Depending on what version of Laravel you use, here are the commands to compile the javascript.

Laravel 5.3

```
gulp

```

Laravel 5.4

```
npm run watch

```

Usage
-----

[](#usage)

TODO: Write usage instructions

History
-------

[](#history)

TODO: Write more history

This project was based on [Justin Kells AZ Database project](https://github.com/justinkelly/az_databases).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0b2d22d5facbcc09b05fcdcaaa080bed421922a5cc43e32c038d381773d6e65?d=identicon)[akosarek](/maintainers/akosarek)

---

Top Contributors

[![akosarek](https://avatars.githubusercontent.com/u/7772525?v=4)](https://github.com/akosarek "akosarek (5 commits)")

---

Tags

almaartisandatabaseexlibrishtmljavascriptlaravelphplaravel

### Embed Badge

![Health badge](/badges/seumunday-azdatabases/health.svg)

```
[![Health](https://phpackages.com/badges/seumunday-azdatabases/health.svg)](https://phpackages.com/packages/seumunday-azdatabases)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
