Download the PHP
package sandro.ruefenacht/phre-api without Composer
On this page you can find all versions of the php package
sandro.ruefenacht/phre-api. 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 phre-api
PhRe-API - PHP REST-API
Yet another PHP Backend Framework.
The possibility that it will not bring any new features is pretty big.
Soooo... Are you sure you want to take a look at this?
Well... Here we go then!
Documentation
Installation
In order to have a configuration file copy the .env.example file and name it .env.
Example API
If you wanna use the example API, you will need to import the sql/db.sql script in a MySQL environment. Don't forget to connect PhRe-API with your database by configuring the credentials inside the .env file.
Configuration
Inside of the .env-file there are a few settings you might wanna check.
You can for example specify which kinds of messages will be outputted and which ones will be suppressed.
Error Messages and such
To output error, debug and other useful messages please use the class PHREAPI\kernel\utils\output\Logger.
This will also check in the .env-file if the message-level is even allowed to be printed out.
Requiresphp Version
>=7.4.0 ext-json Version
* vlucas/phpdotenv Version
^5.3 ext-pdo Version
*
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 sandro.ruefenacht/phre-api contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.