Download the PHP package autn/laravel-schema without Composer

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

Laravel Database Schema

Latest Version on Packagist Build Status Total Downloads

1. About

This package generate Mysql database schema from migrations files.

Update Sep 2020: Now support latest Laravel version

2. Installation

Install via composer - edit your composer.json to require the package.

Then run composer update in your terminal to pull it in. Once this has finished, you will need to add the command to the commands array in your app/Console/Kernel.php config as follows:

3. Usage

Notice: The command will refresh your database, the seeding and actual datas will remove. I recommend use --dbconnect to run with other database.

In root Laravel project, type:

The file will generate to the default databases path (database/schema.sql).

You can change this path by add --path option to the command.

Example:

The default database connect is mysql in config/database.php. You can change the connect by add --dbconnect to the command.

Example:

Notice: If you add --dbconnect option, you must add config to config/database.php.

Example:

There are full options:

4. Changelog


All versions of laravel-schema with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
laravel/framework Version >=6.16.0
ifsnop/mysqldump-php Version >=2.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 autn/laravel-schema contains the following files

Loading the files please wait ....