Download the PHP package somarkn99/apibasicsetting without Composer

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

API Basic Setting Package

This package allows you to secure and configure the essentials of your business using the API. :sunglasses:

Installation

You can install the package via composer:

Middleware

  1. AcceptJsonResponse Middleware.

It Ensures you will get a response in JSON

  1. CORS.

    In order to avoid getting a CORS Error :triumph:

  2. FingerPrintHeader

    Delete personal information sent with unnecessary requests (in order to increase security) :no_bell: :mute:

  3. Host

    As an additional security step, applications are not accepted to a specific domain and are pre-defined in the .env file. :lock: :shield:

Note: Local server is accepted by default :v:

You can add more than one domain and be added as follows: in your .env file add this:

separated between each domain by ","

  1. localization

    When you work with SPA or Mobile Apps, you do not want to send messages by language other than the user language, for example user language is EN and you send it in Spanish!!

Here you can select the language you want to send to the user, all you need to do is add the language file to the lang folder and add a new item to the array.

From Client side you should send 'X-localization' header, if you don't english will be considered the default language of messages.

  1. SecureCheck

    You are building apps for many customers but don't know if they will use SSL certificates or not, which may cause some features in your app to break down. For that, this middleware prepares to rejected all requests that don't use https Protocol (Under Development until know)

Helpers

  1. _dd

    it's allow you to read the dd value from developer section in your browser.

  2. setEnv

    You can easily adjust the value of the variables in the .env file

  3. checkIfFileExists

    This function to check if request has file

  4. dateFormat

    It's allow you to format your date in function nested of write it every time for example:

Note :warning:

Not all of these codes have to be from my pure work, there are many of them on the Internet that I may have done some but not limited to some modification, improvement, or modification of the appearance of the code to become readable, understandable or appropriate to the place of use. If you have any code you think will be useful and people will use frequently in many projects do not hesitate to do a pull request to this repo.

Let's Connect

Hire Me :fire:

By the way, I'm available to work as freelancer, feel free to communicate with me in order to transform your project from an idea to reality.

Security

If you discover any security related issues, please email them first to [email protected], if we do not fix it within a short period of time please open a new issue describe your problem.


All versions of apibasicsetting with dependencies

PHP Build Version
Package Version
No informations.
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 somarkn99/apibasicsetting contains the following files

Loading the files please wait ....