{"id":16954957,"url":"https://github.com/binaryk/lareab","last_synced_at":"2026-04-19T10:35:14.902Z","repository":{"id":110621590,"uuid":"45459549","full_name":"binaryk/lareab","owner":"binaryk","description":null,"archived":false,"fork":false,"pushed_at":"2015-11-03T12:37:41.000Z","size":15488,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T12:19:03.994Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binaryk.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-03T10:36:29.000Z","updated_at":"2015-11-03T12:23:15.000Z","dependencies_parsed_at":"2023-03-13T13:50:02.909Z","dependency_job_id":null,"html_url":"https://github.com/binaryk/lareab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binaryk/lareab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binaryk%2Flareab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binaryk%2Flareab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binaryk%2Flareab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binaryk%2Flareab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binaryk","download_url":"https://codeload.github.com/binaryk/lareab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binaryk%2Flareab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32004041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T22:10:56.884Z","updated_at":"2026-04-19T10:35:14.885Z","avatar_url":"https://github.com/binaryk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Laravel 4 Bootstrap Starter Site [![ProjectStatus](http://stillmaintained.com/andrewelkins/Laravel-4-Bootstrap-Starter-Site.png)](http://stillmaintained.com/andrewelkins/Laravel-4-Bootstrap-Starter-Site)\n[![Build Status](https://api.travis-ci.org/andrewelkins/Laravel-4-Bootstrap-Starter-Site.png)](https://travis-ci.org/andrewelkins/Laravel-4-Bootstrap-Starter-Site)\n\nLaravel 4 Bootstrap Starter Site is a sample application for beginning development with Laravel 4.\n\n## Features\n\n* Bootstrap 3.x\n* Custom Error Pages\n\t* 403 for forbidden page accesses\n\t* 404 for not found pages\n\t* 500 for internal server errors\n* Confide for Authentication and Authorization\n* Back-end\n\t* User and Role management\n\t* Manage blog posts and comments\n\t* WYSIWYG editor for post creation and editing.\n    * DataTables dynamic table sorting and filtering.\n    * Colorbox Lightbox jQuery modal popup.\n* Front-end\n\t* User login, registration, forgot password\n\t* User account area\n\t* Simple Blog functionality\n* Packages included:\n\t* [Confide](https://github.com/zizaco/confide)\n\t* [Entrust](https://github.com/zizaco/entrust)\n\t* [Ardent](https://github.com/laravelbook/ardent)\n\t* [Generators](https://github.com/JeffreyWay/Laravel-4-Generators/blob/master/readme.md)\n\n## Issues\nSee [github issue list](https://github.com/andrewelkins/Laravel-4-Bootstrap-Starter-Site/issues) for current list.\n\n## Recommendations\nI recommend that you use Grunt to compile and minify your assets. See this [article](http://blog.elenakolevska.com/using-grunt-with-laravel-and-bootstrap) for details.\n\nAlso I recommend using [Former](http://anahkiasen.github.io/former/) for your forms. It's an excellent library.\n\n-----\n\n##Requirements\n\n\tPHP \u003e= 5.4.0\n\tMCrypt PHP Extension\n\nInstallation instructions for the mcrypt extension are available [here](http://php.net/manual/en/mcrypt.installation.php).\n\n##How to install\n### Step 1: Get the code\n#### Option 1: Git Clone\n\n```bash\n$ git clone git://github.com/andrewelkins/Laravel-4-Bootstrap-Starter-Site.git laravel\n```\n\n#### Option 2: Download the repository\n\n    https://github.com/andrewelkins/Laravel-4-Bootstrap-Starter-Site/archive/master.zip\n\n### Step 2: Use Composer to install dependencies\n#### Option 1: Composer is not installed globally\n\n```bash\n$ cd laravel\n$ curl -s https://getcomposer.org/installer | php\n$ php composer.phar install\n```\n\n#### Option 2: Composer is installed globally\n\n```bash\n$ cd laravel\n$ composer install\n```\n\nIf you haven't already, you might want to make [composer be installed globally](http://andrewelkins.com/programming/php/setting-up-composer-globally-for-laravel-4/) for future ease of use.\n\nSome packages used to preprocess and minify assests are required on the development environment.\n\nWhen you deploy your project on a production environment you will want to upload the ***composer.lock*** file used on the development environment and only run `php composer.phar install` on the production server.\n\nThis will skip the development packages and ensure the version of the packages installed on the production server match those you developped on.\n\nNEVER run `php composer.phar update` on your production server.\n\n### Step 3: Configure Environments\n\nOpen ***bootstrap/start.php*** and edit the following lines to match your settings. You want to be using your machine name in Windows and your hostname in OS X and Linux (type `hostname` in terminal). Using the machine name will allow the `php artisan` command to use the right configuration files as well.\n\n```php\n$env = $app-\u003edetectEnvironment(array(\n\n    'local' =\u003e array('your-local-machine-name'),\n    'staging' =\u003e array('your-staging-machine-name'),\n    'production' =\u003e array('your-production-machine-name'),\n));\n```\n\nNow create the folder inside ***app/config*** that corresponds to the environment the code is deployed in. This will most likely be ***local*** when you first start a project.\n\nYou will now be copying the initial configuration file inside this folder before editing it. Let's start with ***app/config/app.php***. So ***app/config/local/app.php*** will probably look something like this, as the rest of the configuration can be left to their defaults from the initial config file:\n\n```php\n\u003c?php\n\nreturn array(\n\n    'url' =\u003e 'http://myproject.local',\n\n    'timezone' =\u003e 'UTC',\n\n    'key' =\u003e 'YourSecretKey!!!',\n\n    'providers' =\u003e append_config( array(\n\n        /* Uncomment for use in development */\n        //'Way\\Generators\\GeneratorsServiceProvider', // Generators\n        //'Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider', // IDE Helpers\n\n        )\n    ),\n\n);\n```\n\n### Step 4: Configure Database\n\nNow that you have the environment configured, you need to create a database configuration for it. Copy the file ***app/config/database.php*** in ***app/config/local*** and edit it to match your local database settings. You can remove all the parts that you have not changed as this configuration file will be loaded over the initial one.\n\n### Step 5: Configure Mailer\n\nIn the same fashion, copy the ***app/config/mail.php*** configuration file in ***app/config/local/mail.php***. Now set the `address` and `name` from the `from` array in ***config/mail.php***. Those will be used to send account confirmation and password reset emails to the users.\nIf you don't set that registration will fail because it cannot send the confirmation email.\n\n### Step 6: Populate Database\nRun these commands to create and populate Users table:\n\n```bash\n$ php artisan migrate\n$ php artisan db:seed\n```\n\n### Step 7: Set Encryption Key\n***In app/config/app.php***\n\n```\n/*\n|--------------------------------------------------------------------------\n| Encryption Key\n|--------------------------------------------------------------------------\n|\n| This key is used by the Illuminate encrypter service and should be set\n| to a random, long string, otherwise these encrypted values will not\n| be safe. Make sure to change it before deploying any application!\n|\n*/\n```\n\n```php\n'key' =\u003e 'YourSecretKey!!!',\n```\n\nYou can use artisan to do this\n\n```bash\n$ php artisan key:generate --env=local\n```\n\nThe `--env` option allows defining which environment you would like to apply the key generation. In our case, artisan generates your key in ***app/config/local/app.php*** and leaves ***'YourSecretKey!!!'*** in ***app/config/app.php***. Now it can be generated again when you move the project to another environment.\n\n### Step 8: Make sure app/storage is writable by your web server.\n\nIf permissions are set correctly:\n\n```bash\n$ chmod -R 775 app/storage\n```\n\nShould work, if not try\n\n```bash\n$ chmod -R 777 app/storage\n```\n\n### Step 9: Start Page (Three options for proceeding)\n\n### User login with commenting permission\nNavigate to your Laravel 4 website and login at /user/login:\n\n    username : user\n    password : user\n\n## Create a new user\nCreate a new user at /user/create\n\n### Admin login\nNavigate to /admin\n\n    username: admin\n    password: admin\n\n-----\n## Application Structure\n\nThe structure of this starter site is the same as default Laravel 4 with one exception.\nThis starter site adds a `library` folder. Which, houses application specific library files.\nThe files within library could also be handled within a composer package, but is included here as an example.\n\n## Detect Language\n\nIf you want to detect the language on all pages you'll want to add the following to your routes.php at the top.\n\n```php\nRoute::when('*','detectLang');\n```\n\n### Development\n\nFor ease of development you'll want to enable a couple useful packages. This requires editing the `app/config/app.php` file.\n\n```php\n'providers' =\u003e array(\n    [...]\n    /* Uncomment for use in development */\n//  'Way\\Generators\\GeneratorsServiceProvider', // Generators\n//  'Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider', // IDE Helpers\n),\n```\nUncomment the Generators and IDE Helpers. Then you'll want to run a composer update with the dev flag.\n\n```bash\n$ php composer.phar update\n```\nThis adds the generators and ide helpers.\nTo make it build the ide helpers automatically you'll want to modify the post-update-cmd in `composer.json`\n\n```json\n\"post-update-cmd\": [\n\t\"php artisan ide-helper:generate\",\n\t\"php artisan optimize\"\n]\n```\n\n### Production Launch\n\nBy default debugging is enabled. Before you go to production you should disable debugging in `app/config/app.php`\n\n```\n    /*\n    |--------------------------------------------------------------------------\n    | Application Debug Mode\n    |--------------------------------------------------------------------------\n    |\n    | When your application is in debug mode, detailed error messages with\n    | stack traces will be shown on every error that occurs within your\n    | application. If disabled, a simple generic error page is shown.\n    |\n    */\n\n    'debug' =\u003e false,\n```\n\n## Troubleshooting\n\n## Composer asking for login / password\n\nTry using this with doing the install instead.\n\n```bash\n$ composer install --dev --prefer-source --no-interaction\n```\n\n## License\n\nThis is free software distributed under the terms of the MIT license\n\n## Additional information\n\nInspired by and based on [laravel4-starter-kit](https://github.com/brunogaspar/laravel4-starter-kit)\n\nAny questions, feel free to [contact me](http://twitter.com/andrewelkins).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinaryk%2Flareab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinaryk%2Flareab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinaryk%2Flareab/lists"}