Download the PHP package omnicode/lara-support without Composer

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

Build Status Total Downloads Latest Stable Version License

Lara-Support

Useful classes/methods

LaraServiceProvider

mergeConfig($rootPath, $config = '', $isPublish = true)
loadViews($rootPath, $path = '', $isPublish = true)
loadRoutes ($rootPath, $path = '')
runningInConsole($commands)

registerFunctions($rootPath, $path = 'helpers.php')
registerConstants($rootPath, $path = 'constants.php')
registerSingleton($singleton, $class)
registerSingletons($singletons)
registerMiddleware($middleware)
registerProviders($providers)
registerAlias($alias, $class)
registerAliases($aliases)

getPackage($rootPath)
getPackagePath($rootPath)
getSrcPath($rootPath)
getConfigPath($rootPath)
getResourcePath($rootPath)
getViewVendorPath($path)
getViewPath($rootPath, $view = 'views')
getRoutePath($rootPath, $path = 'routes.php')

Str

positions($string, $search)

    finds the given string's position in the text
    return empty array or associative array
        [
            occurence => position
        ]
    example 

    Str::positions('I love php, I love php too!','php')

    returns
        [
          1 => 7
          2 => 19
        ]
    Str::positions('I love php, I love php too!','Php')
    return []

ipositions($string, $search)

    case-insesitive versino for positions

    Str::ipositions('I love php, I love php too!','php')
        returns
            [
              1 => 7
              2 => 19
            ]
    Str::ipositions('I love php, I love php too!','Php')
        returns
            [
              1 => 7
              2 => 19
            ]

after($subject, $search, $occurrence = 1, $caseSensitive = true)
    Str::after('I love php, I love php too!','php')    
        return ", I love php too!"
    Str::after('I love php, I love php too!','php', 2)
        return " too!"
    Str::after('I love php, I love php too!','php', 3)
        return false
    Str::after('I love php, I love php too!','php', Str::LAST)
        return " too!"
    Str::after('I love php, I love php too!','PHP', 2)
        return false
    Str::after('I love php, I love php too!','PHP', 2, false)
        return " too!"

before
    Str::before('I love php, I love php too!','php')    
        return "I love php, I love "
    Str::before('I love php, I love php too!','PHP', 1)
        return "I love "
    Str::before('I love php, I love php too!','php', 2)
        return "I love php, I love "
    Str::before('I love php, I love php too!','php', 3)
        return false
    Str::before('I love php, I love php too!','PHP', 1)
        return false
    Str::before('I love php, I love php too!','PHP', 1, false)
        return "I love "

between
wrap
iwrap

DB

getTable
    return all db tables list

getColumnsFullInfo*
    return list
        [
            coulumn => [
                type        => string | int |bigint |smallint 
                is_nullable => true | false,
                default     => default-value | null
                extra       => auto_increment | ''
                length      => length (This key set when column have lenght)
                additioanal => unsigned | zerofill 
            ]
        ]

    *example is for mysql DB

All versions of lara-support with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version 5.8.*
omnicode/php-util Version 5.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 omnicode/lara-support contains the following files

Loading the files please wait ....