PHPackages                             kseven/codesmarty - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. kseven/codesmarty

ActiveProject[Framework](/categories/framework)

kseven/codesmarty
=================

CodeIgniter 4 com modules and multi templates and plugins use smarty

1.0.0(3y ago)04MITPHPPHP ^7.4 || ^8.0

Since Nov 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/KDevelopement/CodeSmarty4)[ Packagist](https://packagist.org/packages/kseven/codesmarty)[ Docs](https://codeigniter.com)[ RSS](/packages/kseven-codesmarty/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

CodeIgniter 4 With Smarty (use appstarter of CodeIgniter).
==========================================================

[](#codeigniter-4-with-smarty-use-appstarter-of-codeigniter)

All Smarty configuration is properly configured using the string `$this->$Smarty`. To change the settings, see the file `Smarty.php` under `app/`.

Note: if the template does not exist, Smarty will look for it in the `app/views` folder.

What changes is the reading of views that used to be `view();` now it's `$this->Smarty>View();`

- Everything else follows the framework standards...

Ah, if you want to use the codeigniter pattern, it's also available, but it won't read like Smarty (in the template system).

What is CodeIgniter?
--------------------

[](#what-is-codeigniter)

CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More information can be found at the [official site](http://codeigniter.com).

This repository holds a composer-installable app starter. It has been built from the [development repository](https://github.com/codeigniter4/CodeIgniter4).

More information about the plans for version 4 can be found in [the announcement](http://forum.codeigniter.com/thread-62615.html) on the forums.

The user guide corresponding to this version of the framework can be found [here](https://codeigniter4.github.io/userguide/).

Installation &amp; updates
--------------------------

[](#installation--updates)

`composer create-project kseven/codesmarty` then `composer update` whenever there is a new release of the framework.

When updating, check the release notes to see if there are any changes you might need to apply to your `app` folder. The affected files can be copied or merged from `vendor/codeigniter4/framework/app`.

Setup
-----

[](#setup)

Copy `env` to `.env` and tailor for your app, specifically the baseURL and any database settings.

Important Change with index.php
-------------------------------

[](#important-change-with-indexphp)

`index.php` is no longer in the root of the project! It has been moved inside the *public* folder, for better security and separation of components.

This means that you should configure your web server to "point" to your project's *public* folder, and not to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the framework are exposed.

**Please** read the user guide for a better explanation of how CI4 works!

Repository Management
---------------------

[](#repository-management)

We use GitHub issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages. We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss FEATURE REQUESTS.

This repository is a "distribution" one, built by our release preparation script. Problems with it can be raised on our forum, or as issues in the main repository.

Server Requirements
-------------------

[](#server-requirements)

PHP version 7.4 or higher is required, with the following extensions installed:

- [intl](http://php.net/manual/en/intl.requirements.php)
- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\\CURLRequest library

Additionally, make sure that the following extensions are enabled in your PHP:

- json (enabled by default - don't turn it off)
- [mbstring](http://php.net/manual/en/mbstring.installation.php)
- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php)
- xml (enabled by default - don't turn it off)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/370be5a4a8a82b20f3c9a77adc97316236c3473f87419f3595b5080bf5252bf0?d=identicon)[kseven](/maintainers/kseven)

---

Top Contributors

[![ksevendev](https://avatars.githubusercontent.com/u/32661918?v=4)](https://github.com/ksevendev "ksevendev (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kseven-codesmarty/health.svg)

```
[![Health](https://phpackages.com/badges/kseven-codesmarty/health.svg)](https://phpackages.com/packages/kseven-codesmarty)
```

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[codeigniter4/appstarter

CodeIgniter4 starter app

1891.8M](/packages/codeigniter4-appstarter)[yiisoft/yii2-smarty

The Smarty integration for the Yii framework

74371.8k15](/packages/yiisoft-yii2-smarty)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)[mathmarques/smarty-view

Slim Framework 4 view helper built on top of the Smarty templating component

24134.7k1](/packages/mathmarques-smarty-view)[sintattica/atk

ATK business framework

4521.4k2](/packages/sintattica-atk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
