Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Synology Php Api Laravel Package

bytes-commerce/synology-php-api

Symfony bundle for the Synology NAS API (DSM). Quickly create an authenticated RequestManager and interact with shares and folders from your app. Requires PHP 8.2+ and Symfony 7.2+. Built on bytes-commerce/synology-php-api.

View on GitHub
Deep Wiki
Context7

Symfony Synology NAS API Bundle

The Symfony Synology NAS API Bundle seamlessly integrates the Synology NAS API into your Symfony application. Leveraging the bytes-commerce/synology-php-api package, this bundle simplifies connecting to and managing your Synology NAS directly from your Symfony project.

Features

  • Easy Integration: Quickly add Synology NAS functionalities to your Symfony app.
  • Robust API Connection: Use a well-tested API to interact with your Synology NAS.
  • Configuration Flexibility: Customize connection parameters to fit your environment.
  • Symfony-Friendly: Designed for seamless integration with the Symfony ecosystem.

Requirements

  • PHP 8.2 or higher
  • Symfony 7.2 or higher
  • Composer

Installation

Install the bundle using Composer:

composer require bytes-commerce/synology-php-api

If you are using Symfony Flex, the bundle will be automatically registered. Otherwise, ensure the bundle is added in your config/bundles.php.

Configuration

There is no configuration that needs to be done, besides passing your credentials in any way you'd like to the RequestManagerFactory. The bundle does everything else for you.

use BytesCommerce\SynologyApi\Factory\RequestManagerFactory;

        $manager = $this->managerFactory->createManager(
            'https://<quickconnectUrl>.de99.quickconnect.to',
            '<username>',
            '<password>'
        );

NAS Configuration

You need to create all Shares that you wish to work with first. Top-level shares seem not to be creatable by the bundle, so if you want to write to a specific location that is not existing yet, you need to create it first. Besides Shares, the API can create subfolders recursively.

For more advanced functionality, refer to the Synology PHP API documentation.

Contributing

Contributions to the Symfony Synology NAS API Bundle are welcome! To contribute:

  1. Fork the repository.
  2. Create a new feature branch.
  3. Commit your changes.
  4. Open a pull request with a description of your changes.

License

This bundle is open-sourced software licensed under the MIT License.

Support

If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed