Download the PHP package ryne/laravel-starter without Composer

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

Laravel starter (ryne/laravel-starter)

Version 1.0

Laravel starter comes with helpful methods in making laravel projects

Installation

download the package via composer

composer require ryne/laravel-starter

Files, Classes and Methods

Files

Classes

to use must call or use the class full path itself by:

or register the class in the app.php configuration in the aliases section to easily access its methods

Methods

***DBHelper::class

Parameters:

- String $tableName (required) - table of the foreign keys to be deleted

- String $key (required) - key name to be deleted

Return: void

Sample usage:

DBHelper::keyDelete('user_numbers', 'user_numbers_use_id_foreign');

***L0g::class

Parameter:

- String $message - message to be log

- ...$params - will accept arrays and string as its value as an additional information about the log

Return: void

Sample usage:

\L0g::info('test log', ['data' => 'additional data']);

Parameter:

- String $message - message to be log

- ...$params - will accept arrays and string as its value as an additional information about the log

Return: void

Sample usage:

\L0g::error('test log', ['data' => 'additional data']);

Sample output:

***Helpers.php file

Parameters:

- String $urlFile - file url of the resource within the application public or storage folder

- Bool $onlyVersion - output the version only instead of the whole url + version, default is false

Return: String

Sample usage:

_vers('/images/logo.png');

Sample output:

https://localhost/images/logo.png?v=22343423

Parameters:

- String $string - string/text to be trimmed

- Int $limit - number of characters to cut, default is 50 characters

- String $withSuffix - suffix to be given if string exceed the limit

Return: String

Sample usage:

_trim('hello world', 7, '...')

Sample output:

"hello w..."

Parameters:

- String $string - string/text to be trimmed

- Int $limit - number of characters to cut, default is 50 characters

- String $withSuffix - suffix to be given if string exceed the limit

Return: Boolean true/false

Sample usage:

_trim('hello world', 7, '...')

Sample output:

"hello w..."

Parameters:

- String $routeName - the route name to be check

Return: Bool/String false/"active"

Sample usage:

_isRoute('user.index')

License

this package is free, open source, and GPL friendly. You can use it for commercial projects, open source projects, or really almost whatever you want.


All versions of laravel-starter with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version 9.*.* || 10.*.*
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 ryne/laravel-starter contains the following files

Loading the files please wait ....