rocket-firm / rdrive-core
Rocket Drive - Laravel Admin Package
Requires
- ext-json: *
- arcanedev/laravel-lang: ^6.0
- astrotomic/laravel-translatable: ^11.0
- doctrine/dbal: ^2.9
- laravel/passport: ^7.2
- spatie/eloquent-sortable: ^3.4
- spatie/laravel-permission: ^2.37
- spatie/laravel-translation-loader: ^2.3
- sven/flex-env: ^2.1
Requires (Dev)
- laravel/framework: ~5.8.0
- phpunit/phpunit: ^7.5|^8.0
This package is auto-updated.
Last update: 2026-06-11 09:13:51 UTC
README
Installation
After creating your new Laravel application you can include the Rdrive package with the following command:
composer require rocket-firm/rdrive-core
Next make sure to create a new database and add your database credentials to your .env file, you will also want to add your application URL in the APP_URL variable:
APP_URL=http://project.test DB_DATABASE=db_project DB_USERNAME=root DB_PASSWORD=
In config/app.php (Laravel) you should replace Laravel's translation service provider
Illuminate\Translation\TranslationServiceProvider::class,
by the one included in this package:
Spatie\TranslationLoader\TranslationServiceProvider::class,
Finally, we can install Rdrive. You can choose to install Rdrive with dummy data or without the dummy data. The dummy data will include 1 admin account (if no users already exist), 1 demo page, 4 demo posts, 2 categories and 7 settings.
Install without dummy data
php artisan rdrive:install php artisan migrate
Install with dummy data
php artisan rdrive:install --with-dummy php artisan migrate composer dump-autoload php artisan db:seed --class=RdriveDummyDatabaseSeeder
Then add these dummy routes in your api.php file:
Route::apiResources(['countries' => 'API\Admin\CountryController']);
And we're all good to go!
Start up a local development server with php artisan serve And, visit the URL http://localhost:8000/admin in your browser.
If you installed with the dummy data, a user has been created for you with the following login credentials:
email: admin@admin.com
password: 123456