Download the PHP package schilinskialexander/moonshine-register without Composer

On this page you can find all versions of the php package schilinskialexander/moonshine-register. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package moonshine-register

MoonShine Register

Русский

Registration and password reset pages for MoonShine v4 authentication.

This package adds a public registration flow to the MoonShine admin login area. It can also replace the default MoonShine login page with a version that links to registration and password reset pages.

Features

Requirements

Installation

Install the package with Composer:

Laravel discovers the service provider automatically.

Publish the configuration file if you want to customize the package:

Publish translations if you want to edit the language files:

Run your migrations if the MoonShine tables are not created yet:

What It Adds

By default, the package registers these routes under your configured MoonShine prefix.

If your MoonShine prefix is admin, the routes are:

Method URL Route name
GET /admin/register moonshine.register
POST /admin/register moonshine.register.store
GET /admin/forgot-password moonshine.password.request
POST /admin/forgot-password moonshine.password.email
GET /admin/reset-password/{token} moonshine.password.reset
POST /admin/reset-password/{token} moonshine.password.update

The routes are only registered when MoonShine routes are enabled.

Configuration

After publishing the config file, you can edit:

You can also configure the package through environment variables:

Usage

After installation, open your MoonShine login page. With the default MoonShine prefix, this is:

The login page will show links to:

New users are created in the MoonShine user table and receive the configured default role.

Password Reset

The package configures a moonshine password broker and uses the MoonShine user provider.

The included user model extends MoonShine's default user model and implements Laravel's password reset contract. This is required so MoonShine users can receive reset notifications.

Make sure your application has the standard password reset token table:

Custom Pages

You can replace the included pages by changing the config values:

Your custom pages should render forms that submit to the package route names.

Disabling Features

Disable the whole package:

Disable only password reset:

Disable only the extra links on the login page:

Testing

Run the project tests:

Run only the package-related feature tests:

License

The MIT License.


All versions of moonshine-register with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^12.0|^13.0
moonshine/moonshine Version ^4.15
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package schilinskialexander/moonshine-register contains the following files

Loading the files please wait ...