Download the PHP package mabrouk/project-setting without Composer
On this page you can find all versions of the php package mabrouk/project-setting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mabrouk/project-setting
More information about mabrouk/project-setting
Files in mabrouk/project-setting
Package project-setting
Short Description a laravel package to handle dealing with project setting in groups
License MIT
Informations about the package project-setting
Mabrouk/ProjectSetting
mabrouk/project-setting is a Laravel api package for dealing with project settings.
Table of Content
Usage sequence
Installation
Configurations according to project needs
Out of the box models
Out of the box routes
What else?
Any thing else?
License
Usage sequence
After installation and modifing configuration:
- run command .
- include predefined routes which control project setting types, groups, sections and settings display names in your api documentation to make it available for implementation from frontend developer side. or guide frontend developer to this documentation Models Api Resources to expect in requests response section
Installation
You can install the package using composer.
- Now you need to run the following in order to migrate package tables and publish config file to config directory
Configurations according to project needs
Config file have several configuration options and already have enough comments to describe every key meaning and how to use.
You may access it under
After modifying config file don't forget to run below command:
Out of the box models
We have 4 basic models to deal with:
Out of the box routes
Let's run the command and discover our package predefined routes
What else?
// to be continue
Any thing else?
Actually one more thing to know is that this package depend on mabrouk/translatable package in order to handle translation dynamically for any chosen language.
You will need to pass additional input "locale" in update requests of mentioned models and need to create groups and sections with your application default language.
To get response with desired language you need to pass additional header to your requests "X-locale" with one of the available locales in your application
Both "locale" and "X-locale" accept values like ['en', 'ar', 'fr', ...] etc depending on languages you support in your project.
License
mabrouk/project-setting package is open-sourced software licensed under the MIT license.
All versions of project-setting with dependencies
mabrouk/translatable Version >=1.0
mabrouk/filterable Version >=1.0
mabrouk/mediable Version >=3