Articles in category "tutorials", sorted by viewsX
Displaying 161-170 of 251 result(s).

Upload CSV File

Created 3 years ago by bhavesh vaghelaTutorials2 comments – viewed 15,556 times – ( +8 ) – version 1.1
View file

Simple Mail Queue

Created 3 years ago by waterloomattTutorials3 comments – viewed 15,427 times – ( +10 / -2 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 15,407 times – ( +4 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

What to do when composer fails to update your vendor packages?

Created 2 years ago by Kartik VTutorials0 comments – viewed 15,045 times – ( +38 / -5 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

Simple Way to Upload and Save File

Created 2 years ago by Misbahul D MunirTutorials0 comments – viewed 15,039 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

YII SaaS Multi Tenant application with single database

Created 3 years ago by Rajith RTutorials5 comments – viewed 15,038 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

How to log context information to logger (session id, user, ...)

Created 7 years ago by olafureTutorials0 comments – viewed 14,955 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

Running applications with Docker

Created about a year ago by schmunkTutorials1 comment – viewed 14,762 times – ( +7 ) – 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.

How to make customizable Db Table prefixes using ActiveRecord

Created 7 years ago by killermonkTutorials0 comments – viewed 14,662 times – version 1.1
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

Caching the config main.php

Created 5 years ago by dckurushinTutorials11 comments – viewed 14,658 times – ( +4 / -2 ) – version 1.1
The config long array included every time, and it's not cached at all!