Download the PHP package cauriland/foundation without Composer

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

Laravel Foundation

Scaffolding for Laravel. Powered by TailwindCSS and Livewire.

List of the available components

Prerequisites

Since this package relies on a few 3rd party packages, you will need to have the following installed and configured in your project:

Installation

Require with composer: composer require cauriland/foundation

Usage

Examples

Composer Scripts

Add those scripts to composer.json

Working on Components Locally

This package contains a lot of frontend components, but no frontend views itself. So when you need to work on it, you rely on the frontend from another project. Usually this can be done by having composer symlink this package, but in this case there is a second step required to ensure you can run yarn watch, yarn prod etc. 

I'll get into it in detail and will use the marketsquare.io project as an example. Let's assume that both the marketsquare.io and laravel-foundation git repo's are installed in the /Users/my-user/projects/ folder on our local development machine.

Step 1 - Composer Symlink

In the composer.json file from marketsquare.io under "repositories" add the laravel-foundation as a path:

After that run composer require cauriland/foundation --ignore-platform-reqs -W. The laravel-foundation package is now symlinked and you can work in your IDE from within your laravel-foundation repo.

Step 2 - Symlink node_modules

If you would run yarn watch from within your marketsquare.io repo you'll get a lot of errors because dependencies are not smart enough to know they're in a symlinked directory.

Now, when you go back to your marketsquare.io repo, you can run yarn watch.

Don't forget to remove the symlinking after you're done.

Turn those steps into scripts

Keep in mind:

these scripts are written for Mac users. If you use another OS you may need to tweak them accordingly.

unlink:foundation uses git commands to restore the current project.

To improve your workflow you can turn those steps into scripts and use them directly in your command line, like:

You can copy/paste them in your .bashrc, .aliases or whatever file you set up to manage your aliases.

Before jumping into the code, let me explain what you can do with them (skip to code).

For these examples we use marketsquare.io and laravel-foundation repos, assuming that both are installed in the same folder (/Users/my-user/projects) on our local development machine.

symlink your current project to laravel-foundation

That's it!

The script automatically tries to guess where the laravel-foundation repo is located and symlinks the current project to it (in this case marketsquare.io).

If the current project and laravel-foundation repos are not in the same folder, the script tries to move one level back (../../) and tries again. If laravel-foundation is not found, the script exits and outputs an error message.

You can always specify a custom path, by passing it as an argument

remove symlink from your current project

Again, that's it!

The script looks for .symlink_foundation temp file (created by link:foundation), that contains the symlinked path. If not found, it tries to guess where the laravel-foundation repo is located and removes the symlink from the current project (in this case marketsquare.io).

If the current project and laravel-foundation repos are not in the same folder, the script tries to move one level back (../../) and tries again. If laravel-foundation is not found, the script exits and outputs an error message.

You can always specify a custom path, by passing it as an argument

code

Scripts are self-explanatory, plus they have comments on each line 😉.


All versions of foundation with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
alexbarnsley/php-html-parser Version ^3.2
calebporzio/sushi Version ^2.4
danharrin/livewire-rate-limiting Version ^0.3
elgigi/commonmark-emoji Version ^2.0
ergebnis/phpstan-rules Version ^1.0
fakerphp/faker Version ^1.16
friendsofphp/php-cs-fixer Version ^3.3
google/recaptcha Version ^1.2
graham-campbell/analyzer Version ^3.0
guzzlehttp/guzzle Version ^7.4
illuminate/bus Version ^8.73
illuminate/contracts Version ^8.73
illuminate/http Version ^8.73
illuminate/mail Version ^8.73
illuminate/support Version ^8.73
illuminate/view Version ^8.73
jasonmccreary/laravel-test-assertions Version ^2.0
jenssegers/agent Version ^2.6
johnkary/phpunit-speedtrap Version ^4.0
laravel/fortify Version ^1.8
league/commonmark Version ^2.0
livewire/livewire Version ^2.8
mockery/mockery Version ^1.4
nunomaduro/collision Version ^5.10
nunomaduro/larastan Version ^1.0
nunomaduro/laravel-mojito Version ^0.2
orchestra/testbench Version ^6.23
pestphp/pest Version ^1.21
pestphp/pest-plugin-faker Version ^1.0
pestphp/pest-plugin-laravel Version ^1.1
pestphp/pest-plugin-livewire Version ^1.0
pestphp/pest-plugin-parallel Version ^1.0
phpstan/extension-installer Version ^1.1
phpstan/phpstan Version ^1.2
phpstan/phpstan-deprecation-rules Version ^1.0
phpstan/phpstan-strict-rules Version ^1.1
phpunit/phpunit Version ^9.5
pragmarx/google2fa-laravel Version ^2.0
rector/rector Version ^0.12.19
ruafozy/mersenne-twister Version ^1.3
savvot/random Version ^0.3
spatie/laravel-flash Version ^1.8
spatie/laravel-honeypot Version ^4.0
spatie/laravel-medialibrary Version ^9.9
spatie/laravel-newsletter Version ^4.10
spatie/laravel-package-tools Version ^1.9
spatie/laravel-personal-data-export Version ^3.0
spatie/laravel-schemaless-attributes Version ^2.1
spatie/pest-plugin-snapshots Version ^1.1
spatie/regex Version ^3.1
spatie/yaml-front-matter Version ^2.0
teamtnt/laravel-scout-tntsearch-driver Version ^11.5
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 cauriland/foundation contains the following files

Loading the files please wait ....