Download the PHP package elmogy/larafast without Composer

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

Getting Started

To get started, require the package:

Install the package

After including larafast, you have to install it by running the following command:

After installing the package you will find a directory called unit_template inside core/Base, that's the directory that has the default views that will be included in every unit you generate (after running this command php artisan larafast:unit UnitName --module=ModuleName keep reading to learn more about this command).

Please take a look at the blade files inside core/Base/views and core/Base/unit_template you will notice that $global variable is shared across all the views.

Module

To create a new module, run the following:

php artisan larafast:module ModuleName

Here is an example:

Unit

To create a new unit, there are 2 commands we have to run:

Initialization

php artisan larafast:unit UnitName --module=ModuleName --init

To initialize the unit with basic stuff (model, API controller and Web Controller) and after running the command you can configure the unit, here is an example:

then navigate to core/Todo/data/Task.json and update it like in the following:

Please note the following:

attributes: contains the unit attributes (you can think of attributes as the columns of the table in the database).

type: the type of the attribute, please check all available types here

definition: it holds the column modifiers & indexes in the database, please check all available modifiers & indexes from here and here

You may have noticed that the values in type and definition are designed the same way as we do in the validation rules.

Publishing

php artisan larafast:unit UnitName --module=ModuleName

To create all the related stuff (migration, request, resource, factory, unit test ...etc) based on the previous command:

Notes


All versions of larafast with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.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 elmogy/larafast contains the following files

Loading the files please wait ....