Download the PHP package zeropingheroes/lanager without Composer

On this page you can find all versions of the php package zeropingheroes/lanager. 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 lanager

LANager

Stable Branch Develop Branch
Dusk Dusk
StyleCI StyleCI

LANager is a web application designed to make LAN parties more enjoyable for attendees and organisers alike.

Features

Encourage socialising & participation

Broadcast useful information

Requirements

Setup

  1. Clone the lanager-docker-compose project:

  2. Copy .env.example to a new file named .env:

  3. Open the environment configuration file in a text editor:

  4. Set the following configuration items:

    1. Set APP_KEY to base64: followed by a randomly generated 32 character base64 string
    2. Set APP_URL to the URL you will access LANager through, without a trailing slash, e.g. https://example.com
    3. Set APP_TIMEZONE to your location's timezone
    4. Set STEAM_API_KEY to your Steam API Key
    5. Set DB_PASSWORD to a randomly generated password
    6. Set DB_ROOT_PASSWORD to a different randomly generated password
  5. Bring up the application:

  6. Check the application's status:

  7. When the container status shows Up x minutes (healthy), initialise the database:

LANager should now be accessible at http://localhost, or at the URL you specified in APP_URL, providing you've created a corresponding DNS A record for the Docker host's IP address, and allowed ports 80 and 443 through the Docker host's firewall.

Troubleshooting

If you get stuck, create an issue with the details of what you're experiencing:

Getting started

To set up the LANager for your next LAN party, you need to create a LAN page, then add Events (such as scheduled games or lunch breaks) and Guides (such as game rules) to that LAN page.

Become a Super Admin

The LANager assigns the "Super Admin" role to the first account that logs into it, so make sure you log in as soon as you have completed installation.

Super Admins can perform any action on the site, including assigning roles to other users.

Create your LAN page

The first thing you need to do is to create a LAN page in the LANager. This process is the same whether your LAN party is one day or multiple days. You need to do this before you can create an event schedule, publish any guides or award achievements.

Log into the LANager, and go to ⚙ > LANs, then select the + button to go to the LAN page creation form. Enter your LAN's details, and add a description with Markdown formatting if you want to.

The LANager automatically adds anyone who logs into the LANager during the LAN party to the LAN's list of attendees. For each attendee it displays the current LAN page, which contains the LAN's timetabled events, guides and attendees list.

Create Events & Guides

Once you have a LAN page for your LAN party, you can create Events and Guides to help attendees enjoy your party.

From the LAN page, click the + button next to the Events and Guides headings to go to their creation forms.

Using links

You can use markdown-formatted links in LANs, guides and events. For example, you can write a single guide, and insert a link to it on several event pages:

If you need any help, please contact one of our [tournament staff](/lans/4/guides/3)

Where possible, it's good practice to use relative links as demonstrated above, so that if you change your domain, the links continue to work.

Using images

You can upload images to LAN pages, Events and Guides. To do this, follow these steps:

  1. Below the "description" text box, select "upload images".
  2. Upload the image you want to use.
  3. Next to the image, select ⚙ > Copy Markdown
  4. Paste the markdown into the guide, event or LAN's description field, in the location you want it to appear in the text.

Display slides

The slides feature allows you to display a looping slideshow of live data and useful info for your attendees, such as which event is starting next, which games people are playing, and how to log into the LANager.

To display the slideshow, log in as an admin, and navigate to ⚙ > LANs > (your LAN) > Slides.

Load the slideshow on a big TV or projector so that attendees can see the info easily.

Create and award Achievements

Click ⚙ > Achievements and then click the + button to create achievements that you can award to users.

To award an Achievement to an attendee, go to the navigation bar and select Achievements. This opens the list of Achievements you have awarded to attendees of the current LAN. At the bottom of the page, choose the Achievement and the attendee to award it to, then select Award.

Customise the navigation bar

Click ⚙ > Navigation to customise the links shown on the navigation bar. You can link to pages on the LANager or to third-party sites, organise the links into drop-down menus, and choose the order that the links appear in the navbar or dropdown.

Backup

Run ./backup.sh to back up LANager's configuration, database data and uploaded images.

Restore a backup

Run ./backup-restore.sh <file> to restore a backup.

Development

Development environment setup

  1. Follow the steps from the Setup section above

  2. Stop the running containers

  3. Check out the development branch of lanager-docker-compose

  4. Edit lanager-docker-compose/.env and add the following lines:

  5. In a directory outside of lanager-docker-compose, clone the lanager repository:

  6. Install composer on your host computer

  7. From the lanager directory, install composer dependencies:

  8. Set an environment variable with the path to where you cloned the lanager repository (without a trailing slash)

  9. From the lanager-docker-compose directory, run envsubst to substitute in the path to lanager into docker-compose.override.yml:

  10. Start the containers

  11. After a minute or so, visit http://localhost

The container will run the code from your host computer, rather than the static copy of the code in the container's image, so any changes you make to the files in the project directory (except for the storage/ directory) will be seen by the running containers.

Start and stop the development environment

To stop the development environment run docker-compose stop.

When you're ready to start developing again run docker-compose start.

Destroy the development environment

To destroy the development environment and all volumes that store lanager data, run:

Follow the setup steps above to get a fresh development environment.

Enable pre-commit hooks

To automatically check for and fix problems with your code before you commit:

  1. Install pre-commit
  2. Install PHP Codesniffer & Code beautifier
  3. From the lanager/ directory, run pre-commit install

To check your code, run pre-commit run --all-files or attempt to run git commit

Recompiling JavaScript & CSS assets

To recompile JavaScript & CSS assets, from the lanager directory, run:

  1. docker run -it --rm -v "$PWD":/var/www/html -w /var/www/html node:14-alpine npm install
  2. docker run -it --rm -v "$PWD":/var/www/html -w /var/www/html node:14-alpine npm run dev

To recompile whenever changes to files are detected, run:

  1. docker run -it --rm -v "$PWD":/var/www/html -w /var/www/html node:14-alpine npm run watch-poll

To recompile minified versions suitable for committing, run:

  1. docker run -it --rm -v "$PWD":/var/www/html -w /var/www/html node:14-alpine npm run prod

Running tests

Before submitting pull requests, please run the functional test suite to check your changes don't break existing functionality.

Run docker exec -it lanager php artisan dusk to run LANager's browser test suite.

Feedback & Contributions

If you want to support the project in a non-technical way, we'd love it if you donated to us:

Flattr this git repo

Enjoy using the LANager!


All versions of lanager with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
bandwidth-throttle/token-bucket Version dev-patch-1
diglactic/laravel-breadcrumbs Version ^9.0
graham-campbell/markdown Version ^15.2
guzzlehttp/guzzle Version ^7
laravel/framework Version ^11.0
laravel/sanctum Version ^4.0
laravel/socialite Version ^5
league/csv Version ^9.9
socialiteproviders/steam Version ^4.2
syntax/steam-api Version ^3.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 zeropingheroes/lanager contains the following files

Loading the files please wait ....