{"id":15066776,"url":"https://github.com/seulibrary/azdatabases","last_synced_at":"2026-01-02T21:58:08.113Z","repository":{"id":62542730,"uuid":"83724863","full_name":"seulibrary/azdatabases","owner":"seulibrary","description":"AZ Database Plugin for Laravel that connects to alma and extract a list of databases for searching.","archived":false,"fork":false,"pushed_at":"2018-02-27T17:46:55.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T16:13:00.409Z","etag":null,"topics":["alma","artisan","database","exlibris","html","javascript","laravel","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seulibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-02T21:06:36.000Z","updated_at":"2019-03-26T21:49:23.000Z","dependencies_parsed_at":"2022-11-02T16:16:25.776Z","dependency_job_id":null,"html_url":"https://github.com/seulibrary/azdatabases","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seulibrary%2Fazdatabases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seulibrary%2Fazdatabases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seulibrary%2Fazdatabases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seulibrary%2Fazdatabases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seulibrary","download_url":"https://codeload.github.com/seulibrary/azdatabases/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822321,"owners_count":20353496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alma","artisan","database","exlibris","html","javascript","laravel","php"],"created_at":"2024-09-25T01:12:02.342Z","updated_at":"2026-01-02T21:58:08.066Z","avatar_url":"https://github.com/seulibrary.png","language":"PHP","readme":"# AZ Databases Laravel Plugin\n\nThis plugin allows you to connect your library website to Alma and pull down database resources and display them using HTML and Javascript.\n\n## Installation\n\nTODO: Clean Up the Installation Instructions\n\n### Composer\nInstall with composer. Use the following command in your terminal window.\n```\ncomposer require seumunday/azdatabases\n```\n\nCreate new autoloads\n\n```\ncomposer dump-auto\n```\n\n### Add Service Provider\n\nAdd the following to your service providers in config/app.php\n\n```\nSeumunday\\Azdatabases\\AzdatabasesServiceProvider::class,\n```\n\n### Artisan\n\nUse Artisan to publish the vendor files into your site. This allows you to fully customize the views.\n```\nphp artisan vendor:publish --provider=\"Seumunday\\Azdatabases\\AzdatabasesServiceProvider\"\n```\n\n**List of Transfered files:**\n* config/azdatabases.php\n* app/Console/commands/AzDatabaseImport.php\n* resources/views/vendor/azdatabases\n    - aznav.blade.php\n    - index.blade.php\n* resources/assets/js/vendor/azdatabases.js\n\n#### Edit Config File\n\nInsert your OAI url from alma into the newly transfered config file.\n```\n'url' =\u003e 'https://YOURURLHERE'\n```\n\u003e **NOTE**\n\u003e Learn how to get this url by reading these helpful articles from exlibris.\n\u003e [Alma OAI Integration API](https://developers.exlibrisgroup.com/alma/integrations/oai)\n\u003e [Exlibris OAI Article](https://knowledge.exlibrisgroup.com/Alma/Product_Documentation/Alma_Online_Help_(English)/Integrations_with_External_Systems/030Resource_Management/060Setting_Up_OAI_Integration)\n\nYou 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.\n\n#### Set Up Command\nIn app/Console/Kernel.php, add the following to protected $commands:\n```\n\\App\\Console\\Commands\\AzDatabaseImport::class,\n```\n\nAnd the following under function schedule\n```\n$schedule-\u003ecommand('importAZDB')\n        -\u003edaily();\n```\n\nTo populate it instantly, change daily() to everyMinute(), then run the following artisan command.\n\nTo run the command:\n```\nphp artisan schedule:run\n```\n\n\u003e 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. https://laravel.com/docs/5.4/scheduling\n\n*__At this point, you should be able to see html loading at YOURDOMAIN/database__*\n\n### Set Up Javascript\nAdd the following to Elixer in your gulp file.\n```\nmix.webpack('vendor/azdatabases.js', 'public/assets/js');\n```\n\nIf you have Laravel 5.4, it will be in your webpack.js file, and will instead look like this:\n```\n.js('resources/assets/js/vendor/azdatabases.js', 'public/assets/js')\n```\n\n\u003e If you store your JS files else where, make sure to also change the script url in the view.\n\n\u003e If this is a new project, don't forget to run 'npm install'\n\n#### Install vue-router\n\nThis allows us to have permalinks to searches and selections.\nRun the following in your terminal window:\n```\nnpm install vue-router --save\n```\n\nDepending on what version of Laravel you use, here are the commands to compile the javascript.\n\nLaravel 5.3\n```\ngulp\n```\n\nLaravel 5.4\n```\nnpm run watch\n```\n\n## Usage\n\nTODO: Write usage instructions\n\n## History\n\nTODO: Write more history\n\nThis project was based on [Justin Kells AZ Database project](https://github.com/justinkelly/az_databases). \n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseulibrary%2Fazdatabases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseulibrary%2Fazdatabases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseulibrary%2Fazdatabases/lists"}