Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clarkeash/Laravel-Alfred-Extension
https://github.com/clarkeash/Laravel-Alfred-Extension
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/clarkeash/Laravel-Alfred-Extension
- Owner: clarkeash
- Created: 2012-09-10T22:24:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-26T15:51:29.000Z (over 11 years ago)
- Last Synced: 2024-11-07T18:06:46.689Z (about 1 month ago)
- Language: PHP
- Homepage: http://ashleyclarke.me/laravel-alfred-extension/
- Size: 432 KB
- Stars: 46
- Watchers: 11
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.xml
Awesome Lists containing this project
README
Laravel-Alfred-Extension
========================***Just a note that I am working on a new version for Laravel 4***
This extension will now automatically update itself as of version 1.4
To check your version at any time run ```laravel version```This extension is for [Alfred](http://www.alfredapp.com/) and you require the [Powerpack](http://www.alfredapp.com/powerpack/).
With this extension you can create a new laravel project with the latest version of [laravel](http://laravel.com/) and run generator tasks with the generator by [Jeffrey Way](https://twitter.com/jeffrey_way).
###Installation
If you are using an old version please delete that first then:Download this repo and drag the laravel folder into the extensions tab of alfred preferences.
##Instructions
By default all new projects will be stored in the Sites directory inside your home folder. You may change this if you work from another directory. You use the following command```laravel directory path/to/directory/```
e.g. if you use MAMP you would do the following ```laravel directory /Applications/MAMP/htdocs/``` This directory must end with a trailing slash!
####New Project
```laravel new project1```This will create a directory called 'project1' in your sites directory and laravel will be installed there.
####Change Project
```laravel project project2```If you have more than 1 project on the go you can switch between them using the 'project' command. Then you can run the generator commands below.
You can run ```laravel project``` without a secondary command and that will tell you the current project.
You may also list all the laravel projects by running ```laravel list```.
####Generator Commands
All of the following commands use the [laravel generator](https://github.com/jeffreyway/laravel-generator) by Jeffrey Way. So see the readme on that page for more info.######Generate a controller
```laravel c controllername```
or
```laravel controller controllername```
Will generate a contoller called controllername.As we are using Jeffs generator you can doing the following
```laravel c admin index show edit```
and this will create methods for that controller like so:```php