Download the PHP package blaspsoft/keysmith-vue without Composer

On this page you can find all versions of the php package blaspsoft/keysmith-vue. 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 keysmith-vue

Total Downloads Latest Version License

Keysmith Vue - Laravel 12 Vue Starterkit API Token Management

Keysmith Vue is a Laravel 12 Vue Starterkit package that provides Vue.js components for managing API keys and tokens in your application. It offers a clean, user-friendly interface for creating, viewing, and revoking API keys with customizable permissions based on the implementation from Laravel Breeze.

Features

Requirements

Installation

You can install the package via composer:

Choose your preferred installation template:

Page Template

Install this option to add a dedicated API tokens page at pages/api-tokens/index.vue. This provides a standalone interface for managing your API tokens.

Settings Template

Choose this option to integrate API token management within your Laravel Vue Starterkit settings at pages/settings/APITokens.vue. This keeps token management alongside your other application settings.

Run one (or both) of the following commands based on your choice:

or

Configure Inertia Middleware

Add the following to your HandleInertiaRequests.php middleware's share method to handle API token flash messages:

This configuration is required to display newly created API tokens to users.

Add navlinks to starterkit templates

Dependent of which template you decide to use 'page" or "settings" (or both). You may want to add links to the app sidebar and settings navigations.

For the page update js/components/AppSidebar.vue

For the settings update js/layouts/settings/Layout.vue

Publish config [optional]

This command will publish a configuration file at config/keysmith.php, where you can customize keysmith settings.

Dependencies

This package requires Laravel Sanctum for API token authentication. Before using Keysmith Vue, make sure to:

  1. Install Laravel Sanctum:

  2. Publish and run Sanctum's migrations:

  3. Add the HasApiTokens trait to your User model:

Components

Keysmith Vue provides two components that are installed in your /components directory:

These components are utilized in both the page and settings templates.

Routes

Keysmith Vue provides two sets of routes depending on your installation choice:

Page Template Routes

If you installed using the page template (keysmith:install page), these routes are available:

Settings Template Routes

If you installed using the settings template (keysmith:install settings), these routes are available:

All routes are protected by authentication middleware and handle the following operations:

Testing

Keysmith Vue includes test files that are placed in your project's tests/Feature/ApiToken directory:

You can run the tests using:

Customizing Permissions

You can customize the available token permissions by modifying the config/keysmith.php file:

Screenshots

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of keysmith-vue with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
inertiajs/inertia-laravel Version ^2.0
laravel/sanctum Version ^4.0
illuminate/support Version ^12.0
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 blaspsoft/keysmith-vue contains the following files

Loading the files please wait ....