Download the PHP package aurorawebsoftware/asetting without Composer

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

ASetting Laravel Package

Introduction

ASetting is a Laravel package that allows you to manage settings dynamically in your Laravel applications. With this package, you can organize settings in groups stored in the database, supporting various types of settings for easy management.

Features

You can add the ASetting package to your Laravel project by following the steps below.

Installation via Composer

Add the package to your project using Composer.

Publish Configuration

To publish the configuration file, run the following command:

This will add the config/asetting.php file to your project, which contains the configuration settings for the ASetting package.

Migration

Run the migration to create the database table used to store settings:

Usage

ASetting Facade

The ASetting Facade allows you to easily manage settings. Below are some basic functions and features provided by the Facade.

group(string $group): self

Used to work with settings in a specific group.

groups(array $groups): self

Used to work with settings in multiple groups.

getValue(string $key): int|array|bool|string|null|SettingNotFoundException

Used to get the value of a specific setting.

getTitle(string $key): string

Used to get the title of a specific setting.

isVisible(string $key): bool

Used to check the visibility status of a specific setting.

get(string $key): array

Used to get all information about a specific setting.

getValues(array $keys): SettingNotFoundException|array

Used to get the values of a specific setting.

getValues(array $keys): SettingNotFoundException|array

Used to get the values of a specific settings.

set(string $key, string|int|bool|array $value, string|null $title = null, bool|null $isVisible = null): bool|array

Used to update or create the value of a specific setting.

delete(string $key): bool|SettingNotFoundException

Used to delete a specific setting.

all(?string $group = null): array

Used to get all settings grouped by groups or under a specific group.

destroy(string $group): bool|SettingNotFoundException

Used to delete all settings under a specific group.

add(string $group, string $key, string|int|bool|array $value, string $title = null, string $type = 'string', bool $isVisible = null): ASettingModel|SettingNotFoundException

Used to add a new setting.

API Usage

Config

You can define tokens for APIs. You can also configure it by adding your own middleware.

Endpoint Details

getValue

getTitle

isVisible

get

getValues

set

add

all

delete

destroy

Error Handling

In case of invalid requests or errors, the API will return a JSON response with a corresponding message and, if applicable, validation errors.

Feel free to copy and paste this documentation into your README file. Adjust the formatting as needed.

ASetting Command

This command allows you to interact with the ASetting package.

Usage

php artisan asetting {group=null} {key=null}

This command allows you to interact with the ASetting package.

  1. Fetch a specific setting value:

  2. Fetch all settings in a specific group:

  3. Fetch all settings:

Note

License

The ASetting package is licensed under the MIT License.



All versions of asetting with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3
spatie/laravel-package-tools Version ^1.14.0
laravel/framework Version ^11.0
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 aurorawebsoftware/asetting contains the following files

Loading the files please wait ....