Wiki articles in category Tutorials

Showing 1-20 of 45 items.

Api of Multiple File Uploading in Yii2

Created 5 years ago by fezzymalek fezzymalek, updated 4 years ago by fezzymalek fezzymalek.

After getting lot's of error and don't know how to perform multiple images api in yii2 finally I get it today

5 0
4 followers
Viewed: 78 206 times
Version: 2.0
Category: Tutorials

Yii v2 snippet guide III

Created 5 years ago by rackycz rackycz, updated 11 months ago by rackycz rackycz.

Articles are separated into more files as there is the max lenght for each file on wiki.

8 0
4 followers
Viewed: 265 409 times
Version: 2.0
Category: Tutorials

Create Bootstrap5 based Image carousel with thumbnails

Created 2 years ago by pravi pravi, updated 2 years ago by pravi pravi.

Use the following css styles for carousel to work as expected.

3 0
1 follower
Viewed: 160 829 times
Version: 2.0
Category: Tutorials

Use Single Login Session on All Your Yii2 Application/Repository Under Same Domain/Sub Domain

Created a year ago by aayushmhu aayushmhu, updated a year ago by aayushmhu aayushmhu.

There are multiple blog that shows how to use seperate login for yii2 application but in this article i will show you how to use a single login screen for all your YII2 Advanced, YII2 Basic, Application, It will also work when your domain on diffrent server or the same server.

3 0
1 follower
Viewed: 57 117 times
Version: 2.0
Category: Tutorials

Building Modern SPAs with Yii2 and Inertia.js

Created 7 months ago by Akshay Joshi Akshay Joshi.

Inertia.js is a modern approach to building single-page applications (SPAs) without the complexity of building an API. It allows you to use modern JavaScript frameworks like React, Vue, or Svelte while keeping your Yii2 controllers and routing intact.

5 0
2 followers
Viewed: 44 813 times
Version: 2.0
Category: Tutorials
Tags:

A simple widget - jump2link

Created 10 years ago by Scott_Huang Scott_Huang, updated 10 years ago by Scott_Huang Scott_Huang.

namespace app\components;

0 0
1 follower
Viewed: 16 619 times
Version: 2.0
Category: Tutorials

Relational Query - Lazy Loading and Eager Loading in Yii 2.0

Created 10 years ago by softark softark, updated 7 years ago by samdark samdark.

It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

11 0
6 followers
Viewed: 66 785 times
Version: 2.0
Category: Tutorials

Yii2 RESTful API with OAuth 2.0

Created 8 years ago by sirin k sirin k, updated 7 years ago by sirin k sirin k.

https://cdn.pbrd.co/images/GMN5ROs.jpg

3 0
3 followers
Viewed: 77 546 times
Version: 2.0
Category: Tutorials

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 12 years ago by realtebo realtebo, updated 11 years ago by realtebo realtebo.

Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 32 470 times
Version: 2.0
Category: Tutorials

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

Created 12 years ago by Kartik V Kartik V, updated 12 years ago by Kartik V Kartik V.
  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 4
36 followers
Viewed: 56 472 times
Version: 2.0
Category: Tutorials

How to store array/widget configuration to the database with config validation rules

Created 12 years ago by Kartik V Kartik V, updated 12 years ago by Kartik V Kartik V.

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

2 3
41 followers
Viewed: 29 549 times
Version: 2.0
Category: Tutorials
7 0
4 followers
Viewed: 425 484 times
Version: 2.0
Category: Tutorials

Simple Way to Upload and Save File

Created 11 years ago by Misbahul D Munir Misbahul D Munir, updated 11 years ago by Misbahul D Munir Misbahul D Munir.

This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

0 0
4 followers
Viewed: 43 585 times
Version: 2.0
Category: Tutorials
4 0
3 followers
Viewed: 128 027 times
Version: 2.0
Category: Tutorials

Running applications with Docker

Created 11 years ago by schmunk schmunk, updated 11 years ago by schmunk schmunk.

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.

4 0
8 followers
Viewed: 55 100 times
Version: 2.0
Category: Tutorials

YII2 : simple language Switcher Widget

Created 11 years ago by phunsanit phunsanit, updated 11 years ago by phunsanit phunsanit.
  1. create file common\components\languageSwitcher.php
1 0
5 followers
Viewed: 34 746 times
Version: 2.0
Category: Tutorials

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Created 11 years ago by Scott_Huang Scott_Huang, updated 11 years ago by Scott_Huang Scott_Huang.

To generate excel by query content, and download through any controller. You also can bind cssClass to header/odd/even rows. As for header, you even can set cssClass for each column.

$this->export2excel($excel_content,$excel_file);

in your controller.

2 0
2 followers
Viewed: 29 370 times
Version: 2.0
Category: Tutorials

Language Selector

Created 10 years ago by Programmer Thailand Programmer Thailand, updated 10 years ago by Programmer Thailand Programmer Thailand.

common\components\LanguageSelector.php

<?php
namespace common\components;

2 0
6 followers
Viewed: 19 937 times
Version: 2.0
Category: Tutorials

Optimize Scenarios for yii2

Created 9 years ago by AndroideLP AndroideLP, updated 6 years ago by AndroideLP AndroideLP.

Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

4 0
2 followers
Viewed: 49 688 times
Version: 2.0
Category: Tutorials

Automatically get the SVN Revision Number of your Project

Created 12 years ago by jcagentzero jcagentzero, updated 12 years ago by jcagentzero jcagentzero.

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 16 832 times
Version: all
Category: Tutorials