Download the PHP package codelinered/file-sharing without Composer

On this page you can find all versions of the php package codelinered/file-sharing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package file-sharing

File Sharing - CodelineRed

This git is for fs.codelinered.net. Take a look at screenshots.

This application based on Slim Skeleton and Gulp Skeleton.

Table of contents

Included

Install Production Build (Recommended)

Required

Download zip if you don't have git or composer on your OS. Open console on your OS and navigate to your project folder.

Login Website
Username user
Password password

If you want to use Docker: click here

Install Main/ Develop Build

Required

Download zip if you don't have git on your OS. Open console on your OS and navigate to your project folder.

Login Website
Username user
Password password

Install with Docker (optional)

Required

Open console on your OS and navigate to the place where you want to install the project.

Login Website Adminer
Server - database
Username user root
Password password rootdockerpw
Database - -

Project Commands

Description
gulp watch files and start BrowserSync
gulp build executes following tasks: cleanUp, favicon, font, img, js, jsLint, json, scss, scssLint, svg
gulp lintAll executes following tasks: jsLint, scssLint
gulp cleanUp clean up public folder
gulp favicon generate favicons
gulp font copy font files
gulp img copy and compress images
gulp js uglify, minify and concat js files
gulp jsLint checks js follows lint rules
gulp json copy and minify json files
gulp scss compile, minify and concat scss files
gulp scssLint checks scss follows lint rules
gulp svg copy and compress svg files
gulp watch watch scss, js, json, img, font and svg files

gulpfile.json

Description
browserSyncConfig Required - Defines which config is used for BrowserSync (default: browserSyncDocker)
sourcePath Required - Path to raw files (default: gulpfiles/)
publicPath Required - Path to transpiled files (default: public/)
env Required - Environment dev, test or prod (default: prod)

Path generation with Locale code and Generic locale code

It depends on your configuration what will be returned.

Mode 1 Mode 2 Mode 3
locale code de-DE de-DE xx-XX
generic locale code de-DE xx-XX xx-XX
Twig PHP Twig Example PHP Example
locale code {{ lc }} LanguageUtility::getLocale() {{ path_for('user-register-' ~ lc) }} $this->router->pathFor('user-register-' . LanguageUtility::getLocale())
generic locale code {{ glc }} LanguageUtility::getGenericLocale() {{ path_for('user-login-' ~ glc) }} $this->router->pathFor('user-login-' . LanguageUtility::getGenericLocale())

How to create further localisations

How to switch between different url modes

Mode 1

Example: example.com/de/

Mode 2

Example: de.example.com or example.de

Mode 3 (default)

Example: example.com

ACL settings

With Geggleto ACL, routes are protected by role the current user has. By default every new route is not accessable until you give the route roles. Routes are defined in the route files (e.g. config/routes/de-DE.php). Any other resource is defined in config/settings.php. Inside the Twig templates you can use ACL functions has_role and is_allowed. Inside controllers you can also use this ACL functions and many more (e.g. isAllowed()).

Troubleshooting

In some cases you'll get the error message "Internal Server Error".

If this happened, go to public/.htaccess and enable RewriteBase /.

If project is in sub directory then RewriteBase /project/public/.

Links


All versions of file-sharing with dependencies

PHP Build Version
Package Version
Requires php Version 8.0.*
doctrine/annotations Version ^1.13
doctrine/orm Version ^2.13
geggleto/psr7-acl Version ^1.3
google/recaptcha Version ^1.2
monolog/monolog Version ^1.27
nochso/html-compress-twig Version ^2.0
paragonie/random_compat Version >=1 <9.99
phpgangsta/googleauthenticator Version dev-master
ramsey/uuid-doctrine Version ^1.8
slim/csrf Version ^0.8.3
slim/flash Version ^0.4.0
slim/slim Version ^3.12
slim/twig-view Version ^2.5
symfony/cache Version ^6.0
symfony/console Version ^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codelinered/file-sharing contains the following files

Loading the files please wait ....