Download the PHP package takuya-motoshima/codeigniter-extension without Composer

On this page you can find all versions of the php package takuya-motoshima/codeigniter-extension. 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?
takuya-motoshima/codeigniter-extension
Rate from 1 - 5
Rated 5.00 based on 5 reviews

Informations about the package codeigniter-extension

Version Downloads PHP License

CodeIgniter Extension

Supercharge your CodeIgniter 3 workflow.
Extended controllers, models, utilities, and AWS integrations — all in one package.

API Docs

Why CodeIgniter Extension?

CodeIgniter 3 is fast and lightweight — but it lacks modern conveniences. This package fills the gaps without compromising simplicity.

What you get
Controllers JSON / HTML / Twig responses, CORS, annotation-based access control
Models Fluent query builder, INSERT ... ON DUPLICATE KEY UPDATE, helper methods
Utilities Image/video processing, encryption, CSV, REST client, validation, logging
AWS Rekognition (face detection & comparison), SES (email delivery)
Scaffold One command to create a fully working app with auth, dashboard & frontend

Quick Start

Set up permissions and web server:

Import the database and build assets:

Open http://{your-server-ip}:3000/ — default credentials: [email protected] / password

Sign In User List

Usage

Controller

Model

Utilities

Twig Templates

Session variables are automatically available:

API at a Glance

Controller Methods | Method | Description | |--------|-------------| | `json()` | Send JSON response | | `view($template)` | Render Twig template | | `html($html)` | Send HTML response | | `text($text)` | Send plain text response | | `image($path)` | Send image response | | `download($filename, $content)` | Force file download | | `set($key, $value)` | Set response data | | `setCorsHeader($origin)` | Set CORS headers |
Model Methods | Method | Description | |--------|-------------| | `get_all()` | Get all records | | `get_by_id($id)` | Get record by ID | | `count_by_id($id)` | Count records by ID | | `exists_by_id($id)` | Check if record exists | | `insert_on_duplicate_update()` | Upsert single record | | `insert_on_duplicate_update_batch()` | Batch upsert |
Utility Classes | Class | Key Methods | |-------|-------------| | `ImageHelper` | `resize()`, `crop()`, `writeDataURLToFile()`, `pdf2Image()` | | `FileHelper` | `makeDirectory()`, `delete()`, `copyFile()`, `move()` | | `Cipher` | `encrypt()`, `decrypt()`, `encode_sha256()` | | `RestClient` | `get()`, `post()`, `put()`, `delete()` | | `Logger` | `debug()`, `info()`, `error()`, `display()` | | `Validation` | `hostname()`, `ipaddress()`, `email()`, `is_path()` | | `IpUtils` | `isIPv4()`, `isIPv6()`, `inRange()` | | `Template` | `load($template, $params)` |

Configuration

Recommended config.php settings | Setting | Default | Recommended | |---------|---------|-------------| | `base_url` | *empty* | Dynamic: `'//' . $_SERVER['HTTP_HOST'] . ...` | | `enable_hooks` | `FALSE` | `TRUE` | | `permitted_uri_chars` | `a-z 0-9~%.:_\-` | `a-z 0-9~%.:_\-,` | | `sess_save_path` | `NULL` | `APPPATH . 'session'` | | `cookie_httponly` | `FALSE` | `TRUE` | | `composer_autoload` | `FALSE` | `realpath(APPPATH . '../vendor/autoload.php')` | | `index_page` | `index.php` | *empty* |
Access Control (hooks.php)
Database Session Driver PHP 7.0+ compatible session handler with custom column support: Implements `updateTimestamp()` to prevent `Failed to write session data` warnings.

Requirements

ImageMagick Installation Required for `extractFirstFrameOfGif()` in `\X\Util\ImageHelper`. **Amazon Linux 2:** **Amazon Linux 2023:**

Architecture

Testing

Documentation

Troubleshooting

Problem Solution
"Failed to write session data" warning Use $config['sess_driver'] = 'database' — the included SessionDatabaseDriver handles PHP 7.0+ compatibility
Imagick extension not found Install ImageMagick + php-imagick (see Requirements)
@Access annotations ignored Enable hooks: $config['enable_hooks'] = TRUE and configure hooks.php
Twig templates not updating Clear cache: rm -rf application/cache/templates/*

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Author

shumatsumonobu — GitHub / Twitter / Facebook

License

MIT


All versions of codeigniter-extension with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3
codeigniter/framework Version 3.1.*
twig/twig Version 2.*
hybridauth/hybridauth Version 2.*
aws/aws-sdk-php Version ^3.64
doctrine/common Version ^2.10
intervention/image Version ^2.5
vlucas/phpdotenv Version ^5.3
mathieuviossat/arraytotexttable Version ^1.0
ext-openssl 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 takuya-motoshima/codeigniter-extension contains the following files

Loading the files please wait ...