Download the PHP package januar/laravel-outside without Composer

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

laravel-outside

Package to use laravel command from out of laravel framework. This package use fully illuminate/database package from laravel.

Requirement

Installation

Install Composer

laravel-outside utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. On Windows, you can use the Composer Windows installer.

Install laravel-outside

The best way to install laravel-outside is quickly and easily with Composer. To install the most recent version, run the following command.

After that, commnad will be place in composer vendor folder. So, to run the command file will be like this

Configuration

This package using .env file configuration. So, you must create .env file in root of project. After that, write following config to the .env file base on your configuration.

DB_PATH is configuration to set where your seeder and migration file will be place.

Update composer.json

To using seeder functionality, you need to setup composer classmap in composer.json file. Autoload classmap refer to folder that seeder file is placed. You can follow this example: `

After that, run composer dump-autoload

Finally, Elequent and Make Model Command Can Used Now

Laravel make:model command can used now. Available options is -m (migration) and -p (pivot). The documentation of this command, you can read from Laravel Elequent documentation. We sugest to used psr-4 autoload, so your model will placed in autoload path. Example :

`

So, if you run create model command like this "php vendor/bin/js make:model Model/Example -m", model will placed in your_application_path/src/Model and migration file will placed in your_application_path/[DB_PATH].

Using Eloquent

To use Eloquent in your application, just init laravel application with: `

You need pass base path as param to \LaravelOutside\Kernel. Base path is your root application path.

Credits

All the credits for the laravel-outside goes to the Laravel Framework developers. We are only putting the pieces together here

License

The laravel-outside is open-sourced software licensed under the MIT license


All versions of laravel-outside with dependencies

PHP Build Version
Package Version
Requires illuminate/database Version 5.8.*
illuminate/console Version 5.8.*
illuminate/events Version 5.8.*
illuminate/filesystem Version 5.8.*
symfony/var-dumper Version ~4.0
illuminate/config Version 5.8.*
mockery/mockery Version ^1.0
vlucas/phpdotenv Version ^3.3
illuminate/support Version 5.8.*
ext-json Version *
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 januar/laravel-outside contains the following files

Loading the files please wait ....