Download the PHP package icemont/sling without Composer

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

Sling - Simple Laravel Invoice Generator

Tests Psalm Static Analysis GitHub license

Sling — open-source web application that helps you create invoices and track income.

Table of Contents

  1. About
  2. Features
  3. Installation
  4. Installation with Docker
  5. Customization
  6. Roadmap
  7. License

About

Sling was originally created for personal use, for convenient accounting of income and invoice generation for Individual Entrepreneur with "Small Business" status in Georgia (tax is paid on total revenue every month).

This application will be useful for businesses and individuals with a similar taxation system, or just for generating invoices and income accounting. Sling is based on the Laravel PHP framework.

Screenshots of the deployed app are available here.

Sling page on the developer's website: https://icemont.dev/my-scripts/sling

Features

Installation

Clone the project repository:

$ git clone https://github.com/Icemont/sling.git

Next, go to the project data directory and install the dependencies using the composer:

$ cd ./sling
$ composer install --no-dev

Then create in the project root directory a settings file .env by copying it from .env.example and edit the necessary options in it, such as database connection settings.

Generate your application key with the command:

$ php artisan key:generate --ansi

Perform database migrations to create the initial database tables structure:

$ php artisan migrate 

Complete installation by adding currencies to the database using one of the commands of your choice:

$ php artisan sling:install
# Or:
$ php artisan db:seed --class=CurrenciesSeeder

Minimized JS and CSS assets are already available in the current repository, but you can install development versions of assets by installing dependencies and executing commands:

$ npm install
$ npm run dev

Then you can generate production-ready assets using the command:

$ npm run build

Initial configuration does not differ from the typical Laravel project configuration, so you can refer to the official Laravel framework documentation in case of difficulties.

Installation with Docker

Install Docker on your host by using this guide: https://docs.docker.com/install/

Install Docker Compose by using this guide: https://docs.docker.com/compose/install/

Clone the project repository:

$ git clone https://github.com/Icemont/sling.git

Next, go to the project data directory and create in the project root directory a settings file .env by copying it from .env.example and edit the necessary options in it:

$ cd sling
$ cp .env.example .env

Next, run commands below:

$ docker-compose up -d
$ ./docker-compose/setup.sh

Customization

Base settings

You can change some basic application settings in the file: config/app.php, such as pagination or default currency:

New currency

If you need to add a new currency to the database, you can add it to the $currencies array in the database/seeders/CurrenciesSeeder.php file and then run the command:

$ php artisan db:seed --class=CurrenciesSeeder

Roadmap

📌 There are no specific deadlines and guarantees for the implementation.

License

The contents of this repository is released under the MIT license.


All versions of sling with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
barryvdh/laravel-dompdf Version ^2.0.1
guzzlehttp/guzzle Version ^7.5.1
laravel/framework Version ^9.52.7
laravel/sanctum Version ^3.2.5
laravel/tinker Version ^2.8.1
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 icemont/sling contains the following files

Loading the files please wait ....