Download the PHP package danialrahimy/meta-laravel without Composer

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

meta-laravel

Installation

This project using composer.

Usage

Do this steps

By default, config file path is /resources/etc/sourcesHtml.json

So like this format generate config file

Add this codes or replace ( depends on you ) to webpack.mix.js in root of project

To continue create a new key in .env file in root of your project VERSION=dev also can set prod when your project in production mode

Let's use

To describe config file there are two main key:

  1. sassToCss

    • in this object can define multi key that they are array that contain sass files path compile to css files, according to keys, for example client, sass file that are in this array compiled file put in /public/css/client directory
  2. minify
    • in this object can define multi key ( they can be your main category ) that they are object in their object can be multi key ( they can be your subcategory ), and they are also object contains to key: 1.js 2.css that they are array keep your css and js files path.
    • when use VERSION=dev css and js file load in your pages like the list ypu define in config file
    • when use VERSION=prod if you load client category and home subcategory css and js file path in page is /css/client/home.css, /js/client/home.js

To hint, if your project is a website you can use main categories to separate application to parts (admin, client) and use sub category to separate each page

Use in blade files

get js file

client category, home subcategory

get css file

client category, home subcategory

get css and js together, in order css first

client category, home subcategory


All versions of meta-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^7.4|^8.0
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 danialrahimy/meta-laravel contains the following files

Loading the files please wait ....