Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

My Form Laravel Package

niharb/my-form

View on GitHub
Deep Wiki
Context7

My Form Package

A Laravel package for form management with built-in user authentication.

Installation

Follow these steps to install and configure the package:

1. Install via Composer

composer require niharb/my-form:@dev

2. Run Migrations

php artisan migrate
Now you have table named Paackage user table with these data 
=> Now you have 1 User =
    'username' => 'adminuser',
    'email' => 'admin@example.com',
    'password' => 'secret'

3. Update Auth Configuration

Modify your config/auth.php file with these settings:

'providers' => [
    'package_users' => [
        'driver' => 'eloquent',
        'model' => Niharb\MyForm\Models\PackageUser::class,
    ],
],

'guards' => [
    'package_web' => [
        'driver' => 'session',
        'provider' => 'package_users',
    ],
    
    'api' => [
        'driver' => 'token',
        'provider' => 'users',
        'hash' => false,
    ],
],

4. Routes

Now you can see your Forms in

   Registration = /my-form/register
   Login = /my-form/login
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity