Download the PHP package blackbricksoftware/laravel-migration-builder-salesforce without Composer
On this page you can find all versions of the php package blackbricksoftware/laravel-migration-builder-salesforce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blackbricksoftware/laravel-migration-builder-salesforce
More information about blackbricksoftware/laravel-migration-builder-salesforce
Files in blackbricksoftware/laravel-migration-builder-salesforce
Package laravel-migration-builder-salesforce
Short Description Create migration of object structure from Salesforce Org to a local database.
License MIT
Informations about the package laravel-migration-builder-salesforce
Laravel Migration Builder - Salesforce
Introduction
This package allows you to create migrations as analogs to Salesforce objects read from a connected org. It is useful for staging data for import or downloading data for warehousing.
See Laravel Migration Builder for more details.
Prerequisites
- PHP 7.x or higher
- Laravel 6.x or higher
- Composer
Installation
Install Package
Publish Configuration
Modify .env
Add the following lines to your .env
file. See the Salesforce REST API Client for Laravel page for specific configuration details.
SF_AUTH_METHOD=UserPassword
will likely be the easiest method for a CLI application.
SF_LOGIN_URL
will generally be https://login.salesforce.com
for a live org or https://test.salesforce.com
for a sandbox org.
SF_PASSWORD
will be the user's login password with the user's token concatenated on the end.
Modify Configuration (Optional)
Change storage.type
to object
if you intend to use more than one Salesforce connection.
Usage
Commands
php artisan make:migration-builder:salesforce:object ObjectName
: Make a migration mirroring the structure of the given object (ObjectName
).php artisan make:migration-builder:salesforce:object:list
: List available objects in the connected Salesforce org.php artisan make:migration-builder:salesforce:object:debug ObjectName
: Create three files (ObjectName.var_dump.txt
,ObjectName.print_r.txt
, and pretty printedObjectName.json
) in theStorage::disk('local')
directory (usuallystorage/app/migration-builder/salesforce/
) showing the response from the Salesforce REST API.
Acknowledgements
- Thanks to omniphx for the Salesforce REST API Client for Laravel.
- Salesforce Developer Documentation.
All versions of laravel-migration-builder-salesforce with dependencies
omniphx/forrest Version ^2.11
blackbricksoftware/laravel-migration-builder Version ^11.0
illuminate/support Version ^11.0
illuminate/console Version ^11.0