Download the PHP package dolphin836/slim4-api-skeleton without Composer

On this page you can find all versions of the php package dolphin836/slim4-api-skeleton. 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 slim4-api-skeleton

Slim4-API-Skeleton

Slim-Skeleton-MVC 是基于 Slim Framework 的脚手架。其主体框架来源于我 2017 年开发的一个商业项目。如果你还不了解 Slim Framework,可以从其 官网 了解相关信息。和 Laravel、Yii 等全能型框架相比,Micro Framework 拥有更好的性能和更大的灵活性。

安装方法

使用 Composer 快速创建项目

配置 WEB 服务器

详细的配置方法请阅读 Slim Documentation Web Servers

初始化配置文件

将 .env.example 重命名为 .env,然后填写相应的信息。

使用方法

命令:批量生成随机用户

开源组件

TODO

环境

建议统一使用 Docker 搭建开发环境

项目的服务依赖

启动

  1. 创建 Lumen 配置文件,并设置相应的项

  2. 设置日志目录权限

  3. 创建 Docker 配置文件,并设置相应的项

  4. 初始化并启动服务

实际使用中,请根据当前环境选择对应的配置文件,docker-compose.development.yml 开发环境,docker-compose.test.yml 测试环境,docker-compose.production.yml 生产环境

生产环境由于启用了 Opcache,代码更新后需要重启 php-fpm 服务重新加载代码

  1. 安装依赖

首次安装或者 composer.lock 文件有更新时需要更新依赖

如果本地没有安装 Composer 又需要升级依赖包

  1. 更新代码

  2. SuperVisor

All versions of slim4-api-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
ext-json Version *
ext-redis Version *
slim/slim Version 4.*
vlucas/phpdotenv Version ^2.4
slim/psr7 Version ^1.1
doctrine/orm Version ^2.7
php-di/php-di Version ^6.2
guzzlehttp/guzzle Version ^7.0
php-amqplib/php-amqplib Version ^2.11
monolog/monolog Version ^2.1
symfony/yaml Version ^5.1
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 dolphin836/slim4-api-skeleton contains the following files

Loading the files please wait ....