Download the PHP package furious-developer/lara-bit without Composer

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

About LaraBit

Have you ever wonder to create Laravel views (Blade Templates) using the same type of artisan commands that you usually use to create new controllers, models and migrations etc.

LaraBit extends the power of Laravel Artisan tool and give you the command line interface to create new blade templates really easy.

Installation

install it with composer

composer require furious-developer/lara-bit

Getting Started

Create new blade template:

To create new blade template at the root of the view folder use the command mention below.

php artisan make:view <NameOfTheTemplate>

Example:

if we want to create the "index.blade.php" inside the view folder then use this command and just specify the file name without any file extension.

php artisan make:view index

This command will create the index.blade.php file inside view folder and LaraBit will also output the Absolute Path of the file on the console.

Define template type option:

LaraBit comes with 2 type of Templates

commands:

php artisan make:view index1 --type basic

---- or ----

php artisan make:view index2 --type advance

or use shortcut

php artisan make:view index3 -t basic

---- or ----

php artisan make:view index4 -t advance

Create new Blade Template inside Single/Multiple Folders

In order to create new blade template inside folder prefix the filename with the folder name and dot (.)

LaraBit use the same syntax that view() function use to call a view.

php artisan make:view layout.index

-- define more folder lavel in same way

php artisan make:view folder1.folder2.index

If the Folder doesn't exists then It will create the new Folder(s). If you receive any error after running the above command then change the file permission of the views folder or Manually create the require folders and then run the command again.

Modify Templates

Sometimes we wish to Modify the templates that comes with the LaraBit. we can easily do that by follow the bellow steps.

run this command

php artisan vendor:publish

Then find the line mention below on the console and press the number that is written in-front of it

Provider: FuriousDeveloper\LaraBit\LaraBitServiceProvider

It will generate the basic.blade.php and advance.blade.php inside the "\resources\views\vendor\larabit" folder. Modify the template as per your requirements.

Add & Use Custom Templates

Sometimes we wish to use our own templates instead of using the templates that comes with LaraBit.

Follow the Modify Template Steps then inside "\resources\views\vendor\larabit" place your blade template that you want to use.

Example:

if we wanted to use example.blade.php then we have to place/create this template inside "\resources\views\vendor\larabit" folder then to generate new blade file using your template use the command mention below.

php artisan make:view index6 --type example

---- or ----

php artisan make:view index7 -t example

All versions of lara-bit with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^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 furious-developer/lara-bit contains the following files

Loading the files please wait ....