Download the PHP package alexusmai/easy-settings without Composer

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

Easy settings - Laravel + Vue package

Latest Stable Version Total Downloads Latest Unstable Version License

Easy Settings Vue App

The application is designed for convenient and fast work with simple data of your application.

For example, you need to place a phone number in the footer of your site. You can enter it directly into the HTML code, but if you need to change it, you'll have to dig into the code. And if you make a website to a client, then he will not even know how to change this number. Of course you can write your own CRUD's for all items ... or you can just use this package.

This package is suitable for storing such data as:

Also, if you have a multilingual site, then you will also be able to make your work easier, and save the required data in several languages.

Installation

Composer

If you have Laravel 5.4 or earlier version, then add service provider to config/app.php and

add alias.

Publish config file (easy-settings.php)

You can install npm package directly and use it in your vue application - more information about it - laravel-vue-easy-settings

OR

Publish js and css files - laravel-vue-easy-settings package (compiled, minimised)

Run migration -> this command create "easy-settings" table

Settings

Open configuration file - config/easy-settings.php

In 'languages' array you can add the necessary languages

To create and edit groups of settings, you must use the developer mode. After you have added the necessary groups of settings, disable the developer mode if you do not want users to be able to change the structure, validation rules, delete, etc.

Use caching, this will avoid unnecessary queries to the database

Be sure to add your middleware to restrict access to the application

Open the view file where you want to place the application block, and add:

Usage

Now it remains to add the necessary settings groups, add fields, validation rules and can be used in your code.

Seeder

Sometimes you need to roll back the database while developing the project, and the package data will be lost. In order to avoid this, you can run the command

That will generate a seeder (EasySettingsSeeder) that will contain your data, and you will need to add it to your seeders list (database/seeds/DatabaseSeeder.php)


All versions of easy-settings with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
laravel/framework Version 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*
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 alexusmai/easy-settings contains the following files

Loading the files please wait ...