ukadev / uka-url
Simple URL shortener powered by Lumen
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 1
Open Issues: 3
Type:project
pkg:composer/ukadev/uka-url
Requires
- php: ^7.3|^8.0
 - guzzlehttp/guzzle: 7.*
 - laravel/lumen-framework: 8.*
 
Requires (Dev)
- fakerphp/faker: ^1.9.1
 - mockery/mockery: ^1.3.1
 - phpunit/phpunit: ^9.3
 
This package is auto-updated.
Last update: 2025-10-20 02:29:24 UTC
README
Built with Lumen 8.x, Bootstrap v5 and jQuery-3.5.1
See the DEMO or just go down to the screenshot
Prerequisites
To make the application working you are going to need:
- LAMP environment or equivalent with mod_rewrite enabled
 - composer
 
Installation
Follow the next instructions:
- Open console/terminal and run:
 
git clone https://github.com/ukadev/uka-url.git
- Enter into the cloned folder and run:
 
composer install
- Open the file .env in the application root directory (if doesn't exist, copy it from .env.example) and modify the following variables with your database connection details:
 
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
- After configure the database variables, execute the command from the root of the application:
 
php artisan migrate
- Set up your virtual host to point to the folder called
 publicas the website root folder. You can use the next example if you want it (may require modifications):
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/public
        <Directory /var/www/public>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride all
                Order Deny,Allow
                Allow from all
                Require all granted
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Extra notes
- If you want to add a value to the KEY variable of the .env file, you can execute the following command in the console/terminal and paste it there:
 
php -r "echo md5(uniqid()).\"\n\";"
