<commit_before># Base

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

## Installation

Install Laravel, fix permissions on storage and bootstrap

In main composer.json:

"repositories": [

    {

        "type": "git",

        "url": "https://github.com/bishopm/base"

    }

],

"require": {

    "bishopm/base": "dev-master"

},

In config.php:

Add service provider: bishopm\base\BaseServiceProvider::class,<commit_msg>Update installation instructions in readme<commit_after># Connexion

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

## Installation

1. Install laravel using Composer (eg: to create a project named connexion, run: *new laravel connexion*)
2. Change to the project folder created and fix permissions on bootstrap and storage folders:
`sudo chmod -R 777 storage / bootstrap`
3. Add the connexion package to composer.json by adding a repositories section and requiring the package as follows:
```"repositories": [
      {
         "type": "git",
         "url": "https://github.com/bishopm/base"
      }
   ],
   "require-dev": {
      ...
      "bishopm/base": "dev-master"
    },```
4. Run *composer update* in the project folder, which will pull in the package and its dependencies
5. Add the package service provider to config/app.php (in the providers section): 
`bishopm\base\Providers\BaseServiceProvider::class,`
6. Add your database credentials to .env
7. In the project folder, run
`php artisan connexion:install`
follow the prompts to create your first admin user, and you're good to go!
{'fraction_non_alphanumeric': 0.10891089108910891, 'fraction_numerical': 0.006188118811881188, 'mean_word_length': 3.7005813953488373, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2508673', 'n_tokens_mistral': 491, 'n_tokens_neox': 461, 'n_words': 181}