Wiki

Articles in category "tutorials"X
Displaying 11-20 of 247 result(s).

Running applications with Docker

Created about a year ago by schmunkTutorials1 comment – viewed 9,603 times – ( +6 ) – version 2.0
When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

Drills : Search by a HAS_MANY relation in Yii 2.0

Created about a year ago by softarkTutorials3 comments – viewed 19,695 times – ( +13 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

Gettext and Poedit HOWTO

Created about a year ago by Maug LeeTutorials0 comments – viewed 3,746 times – version 1.1
Example settings when using Gettext for i18n.

RBAC Super Simple with Admin and User

Created about a year ago by evercodeTutorials9 comments – viewed 34,734 times – ( +13 / -3 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

Simple Way to Upload and Save File

Created about a year ago by Misbahul D MunirTutorials0 comments – viewed 11,617 times – ( -2 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

How to use imagine ( crop, thumb, effects for images ) on Yii2

Created about a year ago by Anas AbuDayahTutorials0 comments – viewed 18,733 times – ( +7 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

How to display images in CJuiAutoComplete without extenstions

Created about a year ago by AsmaaTutorials0 comments – viewed 3,954 times – version all
I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

Building a REST API in Yii2.0

Created about a year ago by sirin kTutorials6 comments – viewed 60,606 times – ( +8 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API

Translation from .txt file

Created about a year ago by Yii3Tutorials6 comments – viewed 3,448 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation

How to display Dependent drop-down value using ajax call with dynamically

Created about a year ago by Ankit ModiTutorials4 comments – viewed 22,012 times – ( +3 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.