Skip to content

Commit d0edc7b

Browse files
committed
Update README and config with improved installation and sync options
1 parent ece9a6c commit d0edc7b

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/ajaxray/laravel-server-sync.svg?style=flat-square)](https://packagist.org/packages/ajaxray/laravel-server-sync)
44
[![Total Downloads](https://img.shields.io/packagist/dt/ajaxray/laravel-server-sync.svg?style=flat-square)](https://packagist.org/packages/ajaxray/laravel-server-sync)
55
[![License](https://img.shields.io/packagist/l/ajaxray/laravel-server-sync.svg?style=flat-square)](https://packagist.org/packages/ajaxray/laravel-server-sync)
6-
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ajaxray/laravel-server-sync/tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/ajaxray/laravel-server-sync/actions/workflows/tests.yml)
7-
[![Packagist Stability Rating](https://img.shields.io/packagist/stability/ajaxray/laravel-server-sync?style=flat-square)](https://packagist.org/packages/ajaxray/laravel-server-sync)
86

9-
A Laravel package to easily sync your production database and files to your local environment. Perfect for debugging production issues or keeping your local environment up to date with production data.
7+
A Laravel package to easily sync your production/staging database and storage files to your local environment. Perfect for debugging production issues or keeping your local environment up to date with production data.
108

119
> **Note**: This package is now stable and ready for production use. It supports Laravel 10.x and 11.x.
1210
@@ -33,6 +31,11 @@ A Laravel package to easily sync your production database and files to your loca
3331
composer require ajaxray/laravel-server-sync
3432
```
3533

34+
To install for dev environments
35+
```bash
36+
composer require --dev ajaxray/laravel-server-sync
37+
```
38+
3639
After installation, publish the configuration file:
3740

3841
```bash

config/server-sync.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,19 @@
2929
'tables' => [
3030
'exclude' => [
3131
// Tables to exclude from sync, e.g.:
32-
// 'migrations',
3332
// 'password_reset_tokens',
33+
// 'failed_jobs',
34+
// 'jobs',
35+
// 'sessions',
36+
// 'personal_access_tokens',
37+
// 'visitor',
38+
// 'activity_log',
39+
// 'audit_logs',
40+
// 'cache',
41+
// 'notifications',
42+
// 'telescope_entries',
43+
// 'telescope_entries_tags',
44+
// 'telescope_monitoring',
3445
],
3546
],
3647
],

0 commit comments

Comments
 (0)