Download the PHP package azhai/hack-igniter without Composer

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

hack-igniter

A example project extends of CodeIgniter v3.x

https://azhai.gitbook.io/hack-igniter/

安装

要求php v5.4及以上版本。

下载最新版本代码,解压并进入目录。

运行下面的命令(需要安装有 composer ),安装依赖包和开发依赖包。

配置

开发环境的配置依然在 application/config/development 下

第一次务必修改 constants.php 中的网址和 database.php 中的数据库连接

生成Model

设置好数据库连接后,回到安装目录(即 application 再往上一层目录),执行

自动生成所有表的 Model 文件,放入数据库连接为名的子目录中,并且关联对应 Mixin 。

控制器流程

按照 CodeIgniter 规范,访问网址会被对应到“模块/控制器/方法”上,但如果控制中含有

_remap() 方法,则直接执行它。

我们在基础控制器 application/core/MY_Controller.php 中,放置一个 _remap() ,

它的流程是这样:

进一步阅读

查看其他


All versions of hack-igniter with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.6
codeigniter/framework Version 3.*
psr/log Version *
twig/twig Version *
php-curl-class/php-curl-class 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 azhai/hack-igniter contains the following files

Loading the files please wait ....