Download the PHP package c5vargas/laravel-api-server without Composer

On this page you can find all versions of the php package c5vargas/laravel-api-server. 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 laravel-api-server

About Laravel API Server

A collection of Laravel API starter kits using the repository pattern. Very flexible and useful when developing medium to large scale applications.

An Application Programming Interface, denoted as API, enables applications to access data and other external software functionalities. APIs are gaining popularity among developers since they save time and resources. Companies do not need to develop complex systems from scratch.

They can opt to consume data from other existing frameworks. An API is responsible in returning the appropriate response whenever an application sends a request. That is why this GIT repository exists, to facilitate the creation of applications and start with a previously configured and robust API server.

All you have to do is start creating your own Models and Controllers!

How works repository pattern arquitecture

The Pattern Repository architecture in Laravel is a design pattern used to separate the business logic from the data access layer of an application.

In this architecture, the data model is treated as a collection of objects, which are used to interact with the database. The Repository Pattern acts as an interface between the business layer and the data access layer. Instead of the business layer interacting directly with the data access layer, it does so through a repository that implements a defined interface.

Ready to use:

System Requeriments

How to install

The first thing to do is to download the package from composer.

Composer is a package manager for PHP that is used to install software dependencies. Execute the command in the terminal in the directory where you want to create the project. Composer will install all the dependencies necessary for the software to function properly.

You can do this by performing the following command.

Once you have the software downloaded, you will need to configure the .env file. This file is important because it contains the settings needed to connect to the database and other important services. Copy the .env.example file and name it .env

This command is used to migrate the database and load the test data. Run the command in the terminal in the downloaded software directory. This will create the necessary tables in the database and load the initial data.

Finally, run the command in the terminal in the directory of the downloaded software. This command will start a local server so you can access the software from your web browser.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Updated at 29.01.24


All versions of laravel-api-server with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.2
laravel/framework Version ^10.10
laravel/sanctum Version ^3.3
laravel/tinker Version ^2.8
guzzlehttp/psr7 Version 2.4.5
laravel/passport Version ^11
league/fractal Version ^0.20.1
doctrine/dbal Version ^3.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 c5vargas/laravel-api-server contains the following files

Loading the files please wait ....