Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 14, 2022. It is now read-only.

[DEPRECATED] Project on YII2 framework for create short url (url shortener)

License

NotificationsYou must be signed in to change notification settings

gaalferov/yii2-minify-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge

URL Shortener on Yii2 Framework.Live demo -https://burl.pro

Features

  • Public urls (without registration) with public analytics information
  • Private urls (after registration) with hidden analytics information
  • A lot of popular social networks for registration (VK, FB, Google+, etc)
  • Collect all client information geo position (country), browser, platform, referral

Docker setup

  • Installdocker & docker-compose

  • Copy and customize your docker arguments with command:cp .env-dist .env

  • Create and set your ownGitHub API Token to the fieldGITHUB_API_TOKEN for fixing problem with rate limits

  • Run docker build command:docker-compose up --build -d

  • Run Yii2 migrate command:docker exec yii2-minify-url_app_1 php yii migrate --interactive=0

  • Url Shortener will be available athttp://localhost

  • PHPMyAdmin available athttp://localhost:8080

Default credentials

Admin area:User: admin@burl.proPassword: adminpasswordMySQL (.env):User: urlshorteneruserPassword: yii2shortenerpassword

Oauth configurations

  • Add to fileapp/config/web-local.php your oauth data, for example:
<?phpreturn  ['components' => ['authClientCollection' => ['clients' => ['google' => ['class' =>'app\components\oauth\Google','clientId' =>'XXX','clientSecret' =>'XXX',        ],'facebook' => ['class' =>'budyaga\users\components\oauth\Facebook','clientId' =>'XXX','clientSecret' =>'XXX',        ],// twitter, facebook, github, linkedin, live, yandex, vkontakte      ],    ],  ],];

Example:

About

[DEPRECATED] Project on YII2 framework for create short url (url shortener)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp