swisnl/laravel-nova-mirror

This package is abandoned and no longer maintained. No replacement package was suggested.

Automatically update a git repository with Laravel Nova releases.

Installs: 9 287

Dependents: 0

Suggesters: 0

Security: 0

Stars: 78

Watchers: 8

Forks: 32

Open Issues: 0

Type:project

1.0.2 2018-09-14 10:09 UTC

README

PHP from Packagist Latest Version on Packagist

⚠️ Nova now officially supports installing via Composer. You can also get Git access with your account when you have licenses. Therefor, this package is now fully deprecated. ⚠️

This repository is not a public mirror. It can sync Nova downloads using your personal credentials to a private repository of your choice.

This application enables you to update a private mirror of Laravel Nova automatically. It downloads releases from the Nova site and updates a repository with the correct releases.

The application assumes the user which runs it has git access to the repository. The best way to do this using an ssh key. You need to enter the username and password to your account on nova.laravel.org to get this to work.

This repository was created because Nova (at the time of writing) only supplies a download which you need to copy to your project. This feels way too old-school and makes updating a bit hard. Using this application you can include nova directly from the git repository which should make updating a lot easier.

Run this on a CI once a day, and you will have an up-to-date Nova available whenever you need it.

Please note; the repository you mirror to must be private, as per license agreement with Nova.

Getting started

  1. Start with installing the project with composer composer create-project swisnl/laravel-nova-mirror
  2. Setup the .env file (or environment) with the correct credentials.
  3. Make sure the remote repository exists.
  4. Run php artisan nova-mirror:update to download and push the repository or run Dusk directly php artisan dusk to do the same.
  5. Setup your Nova project to pull from your private repository.
"require" : {
    "laravel/framework": "5.6.*",
    "laravel/nova": "^1"
},
"repositories": [
    {
        "type": "vcs",
        "url": "git@bitbucket.org:username/laravel-nova.git"
    }
],

Security

If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.

License

The MIT License (MIT).

SWIS

SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.