Package Data | |
---|---|
Maintainer Username: | dreamfactory |
Maintainer Contact: | code@dreamfactory.com (DreamFactory Development Team) |
Package Create Date: | 2015-03-19 |
Package Last Update: | 2024-11-19 |
Home Page: | |
Language: | PHP |
License: | Apache-2.0 |
Last Refreshed: | 2024-11-22 03:02:50 |
Package Statistics | |
---|---|
Total Downloads: | 45,259 |
Monthly Downloads: | 487 |
Daily Downloads: | 9 |
Total Stars: | 14 |
Total Watchers: | 16 |
Total Forks: | 32 |
Total Open Issues: | 18 |
Note: This repository contains the core code of the DreamFactory platform. If you want the full DreamFactory platform, visit the main DreamFactory repository.
DreamFactory(™) Core is a package built on top of the Laravel framework, and as such retains the requirements of the Laravel v5.4 framework.
Documentation for the platform can be found on the DreamFactory wiki.
Note: This document is currently intended for developers who desire to add DreamFactory to an existing Laravel project. For more information, see the full platform repository.
Edit your project’s composer.json to require the following package.
“require”:{
"dreamfactory/df-core": "~0.14.0"
}
Save your composer.json and do a "composer update" to install the package. Once the package is installed edit your config/app.php file to add the LaravelServiceProvider in the Providers array.
‘providers’ => [
….,
….,
'DreamFactory\Core\LaravelServiceProvider'
]
Next run "php artisan vendor:publish" to publish the config file df.php to config/ directory and a helpful test_rest.html file to public/ directory.
If you have setup your database connection right in your .env file then run the following migration.
php artisan migrate
Now if you have setup the phpunit config right in phpunit.xml (Use the supplied phpunit.xml-dist file in the package to use the right params) file then you should be able to run the unit tests.
phpunit vendor/dreamfactory/df-core/tests/
The DreamFactory core is open-sourced software available for use under the Apache Version 2.0 license.