Getting Started
Installation
First, you'll need to purchase a License to use RapidSaaS CONDUIT in your project.
You can purchase a license from here.
Once you have purchased a license, you will need to authenticate: you can install the package via composer:
1composerconfig--authhttp-basic.mergeloop-conduit.repo.repman.iotoken [YOUR_LICENSE_KEY]
Next, add the following to your composer.json
file's repositories section:
1{2"repositories": [3 {"type": "composer", "url": "https://mergeloop-conduit.repo.repman.io"} 4 ]5}
Finally, you can install the package via composer:
1composerrequiremergeloop/conduit
Next, add the Conduit trait to your User model:
1classUserextendsAuthenticatable2{3use\Mergeloop\Conduit\Conduit; 4}
Run the migrations to create the necessary tables:
1phpartisanmigrate
Publish the Conduit assets file:
1phpartisanvendor:publish--provider="Mergeloop\Conduit\ConduitServiceProvider"
You should add the following to your composer.json
file to always keep Conduit's assets up to date:
1"scripts": {2"post-autoload-dump": [3"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",4"@php artisan package:discover --ansi",5"@php artisan vendor:publish --provider=\"Mergeloop\\Conduit\\ConduitServiceProvider\" --tag=public --force"6 ]7 },
After installing and configuring this package, you should set up your payment provider and put those API keys into your .env
file. Then run the installation command:
1phpartisanconduit:install
It is recommended to ignore these files and directories in your .gitignore
file:
1/public/vendor/conduit2/public/css/filament3/public/js/filament4auth.json
If you're using Tailwind CSS, you should add the following to your tailwind.config.js
file:
1module.exports= {2content: [3'./resources/**/*.blade.php',4'./resources/**/*.js',5'./vendor/mergeloop/**/resources/views/**/*.blade.php', 6 ],