Download the PHP package urbics/laracivi without Composer

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

Laracivi - a Laravel 5.5 to CiviCRM bridge

Installs CiviCRM as a package within a laravel project.

Provides civicrm_api3 access to an existing or a new CiviCRM database using a thin api wrapper. Includes console commands to build migrations for all CiviCRM tables from CiviCRM's schema.xml source and seeders from civicrm_data.mysql and civicrm_acl.mysql source, as well as Entity model classes for all CiviCRM tables. Also includes console commands to generate a CiviCRM database directly from civicrm.mysql, and to backup and restore a CiviCRM database. The package uses a lightly modified fork of civicrm-core and unmodified civicrm/civrm-packages.

Package Installation

Or manually by modifying composer.json file:

Next, add package repository sources to the root composer.json in your project (these components are not currently on packagist):

A few of the civicrm-core dependencies (and the urbics fork of civicrm/civicrm-core) have a dev status, so allow dev packages:

Finally, run composer install

CiviCRM Installation

From your project directory, run

php artisan civi:install

(If you are using homestead or another virtual machine, ssh into the virtual machine before running this)

which will:

then run php artisan vendor:publish to bring a civi.php settings file into the config folder.

Next Steps

Limitations and cautions

The civicrm/civicrm-core package has dependencies whose versions may conflict with those in your project. urbics/laracivi has been tested against a clean install of laravel 5.5; more complex projects have had conflicts during composer install.

civicrm-core uses the PEAR DB class, which conflicts with the DB facade used in Laravel. A solution is to replace use DB; with use Illuminate\Database\DatabaseManager as DB; in classes that rely on the DB facade.

Tests

The project includes phpunit tests for each of the console commands as well as for basic api functionality.


All versions of laracivi with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6.4 || ^7.0
civicrm/civicrm-core Version dev-master
civicrm/civicrm-packages Version master
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 urbics/laracivi contains the following files

Loading the files please wait ....