Download the PHP package hunwalk/yii2-basic-firestarter without Composer

On this page you can find all versions of the php package hunwalk/yii2-basic-firestarter. 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 yii2-basic-firestarter

Yii 2 Basic Firestarter


This project is discontinued

Please follow this link if you want something similar to this project: https://github.com/hunwalk/yii2-app-forge

This is a somewhat modified version of the basic template with some pregonfigured features. I've created this to save time upon creating a new project.

Please leave a star if you're considering to use this template in production.

Contains:

Or use the current master branch, if you're in a hurry for features if there is any

post-create-project-cmd script sets up the permissions for some folders and generates the cookieValidationKey for you

Instructions

1st step

Create a .env file from the .env.example

OSX / LINUX

Windows

2nd step

3rd step

About the API

You can reach the api at There is an example controller you can test. That is purely for demonstration, and can be better.

Update user profile using the api (This is purely for testing purposes)

Read this carefully, if you've never done something like this.

  1. Start the server
  2. Pop up your favourite api client
  3. Set the url to
  4. Set up a header with the key
  5. The header value should be your token.
  6. Keep in mind, that the token will expire within 60 seconds
  7. Do a get request with these settings.
  8. You should get back the users profile
  9. Now do a post request. The body should be x-www-form-urlencoded
  10. The key value pairs should be Profile[name] = {yourname}
  11. Send. :smile:

If you did everything right, you should get back the updated profile.

Some additional information

The token looks like this:

It has 3 parts. The user_id, the current timestamp, and the users api_key sha1 hashed together with the current timestamp.

You can find more information about generating that token inside the v1 modules DefaultController Also, you should delete that before going to production.

You can obtain the users api_key from the user table in the api_key column.

Use Conventional Commits

Thanks to the conventional commits project and this guy: https://github.com/damianopetrungaro/

It seems like, something broke after i released this update, and the fire/commit command does not really work. Requires some tweaking, but definitely going to fix this sometime. However feel free to use the idea of the conventional commits. It's really great :smile:

Todo

Sites or projects ignited by this

Send a PR if you have one :)


All versions of yii2-basic-firestarter with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
yiisoft/yii2 Version ~2.0.14
yiisoft/yii2-bootstrap Version ~2.0.0
yiisoft/yii2-swiftmailer Version ~2.0.0 || ~2.1.0
dektrium/yii2-user Version ^0.9.14
dektrium/yii2-rbac Version ^1.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 hunwalk/yii2-basic-firestarter contains the following files

Loading the files please wait ....